Created
October 4, 2019 06:54
-
-
Save phoenix24/48e11cb65e4b67193635c4dc35bf5b72 to your computer and use it in GitHub Desktop.
apache james build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ james-project git:(master) ✗ mvn clean compile package -DskipTests | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 01:00 min | |
[INFO] Finished at: 2019-10-04T12:21:04+05:30 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project james-server-util: Fatal error compiling: invalid flag: --release -> [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 | |
[ERROR] | |
[ERROR] After correcting the problems, you can resume the build with the command | |
[ERROR] mvn <goals> -rf :james-server-util |
In your pom.xml file, simply remove the tag <release>8</release> from your maven-compiler-plugin configuration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JVM details below -