New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maven build failed for the code checked in apete 2016-01-12. #13
Comments
You need Java 8 to build the master branch. Install Java 8 or switch to the Java7 branch. |
Thank for a quick reply. I upgraded JDK. C:\Programs\ojAlgo-master>java -version I am still in trouble. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ojalgo: Fatal error compiling: invalid target release: 1.8 -> [Help 1] |
The problem is JAVA_HOME still points to old java. The build success with error:
Command line was: C:\Programs\Java\jdk1.8.0_66\jre..\bin\javadoc.exe @options @packages Refer to the generated Javadoc files in 'C:\Programs\ojAlgo-master\target\apidocs' dir.
[INFO] Building jar: C:\Programs\ojAlgo-master\target\ojalgo-40.0-SNAPSHOT-javadoc.jar |
This is not an issue with ojAlgo. Just google on a relevant part of the stacktrace and you’ll find suggestions on what to do. /Anders
|
OK. Thanks. |
... and I'll fix those javadoc issues. |
[INFO] Compiling 436 source files to C:\Programs\ojAlgo-master\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.185 s
[INFO] Finished at: 2016-01-18T00:59:38-05:00
[INFO] Final Memory: 16M/244M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ojalgo: Fatal error compiling: invalid target release: 1.8 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The text was updated successfully, but these errors were encountered: