-
Notifications
You must be signed in to change notification settings - Fork 2
Build fails (outdated options) #1
Description
I've just tried to compile with maven 3.6.2, but option 5 seems to be no longer supported:
``
[INFO] Building libopac-sample 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: http://jcenter.bintray.com/net/opacapp/libopac/4.5.0-rc-1/libopac-4.5.0-rc-1.pom
Downloaded from central: http://jcenter.bintray.com/net/opacapp/libopac/4.5.0-rc-1/libopac-4.5.0-rc-1.pom (1.1 kB at 1.5 kB/s)
Downloading from central: http://jcenter.bintray.com/org/json/json/20090211/json-20090211.pom
Downloaded from central: http://jcenter.bintray.com/org/json/json/20090211/json-20090211.pom (1.4 kB at 20 kB/s)
Downloading from central: http://jcenter.bintray.com/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.pom
Downloaded from central: http://jcenter.bintray.com/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.pom (0 B at 0 B/s)
Downloading from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.pom
Downloaded from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.pom (4.8 kB at 75 kB/s)
Downloading from central: http://jcenter.bintray.com/joda-time/joda-time/2.8.2/joda-time-2.8.2.pom
Downloaded from central: http://jcenter.bintray.com/joda-time/joda-time/2.8.2/joda-time-2.8.2.pom (29 kB at 350 kB/s)
Downloading from central: http://jcenter.bintray.com/net/opacapp/libopac/4.5.0-rc-1/libopac-4.5.0-rc-1.jar
Downloading from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar
Downloading from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar
Downloading from central: http://jcenter.bintray.com/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.jar
Downloading from central: http://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
Downloaded from central: http://jcenter.bintray.com/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.jar (0 B at 0 B/s)
Downloading from central: http://jcenter.bintray.com/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar
Downloaded from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.6/httpmime-4.3.6.jar (37 kB at 213 kB/s)
Downloading from central: http://jcenter.bintray.com/org/json/json/20090211/json-20090211.jar
Downloaded from central: http://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar (62 kB at 345 kB/s)
Downloaded from central: http://jcenter.bintray.com/org/json/json/20090211/json-20090211.jar (46 kB at 181 kB/s)
Downloaded from central: http://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar (283 kB at 1.0 MB/s)
Downloaded from central: http://jcenter.bintray.com/net/opacapp/libopac/4.5.0-rc-1/libopac-4.5.0-rc-1.jar (342 kB at 217 kB/s)
Downloaded from central: http://jcenter.bintray.com/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar (622 kB at 352 kB/s)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ libopac-sample ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /work/bibo/libopac-sample-mvn-master/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ libopac-sample ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /work/bibo/libopac-sample-mvn-master/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.773 s
[INFO] Finished at: 2019-10-20T20:34:35+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project libopac-sample: Compilation failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.
[ERROR] -> [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/MojoFailureException