diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-07-19 01:10:50 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-10 14:45:27 +0200 |
commit | 200b4b0d9c782fe1a0930f3384f675bed06d6c09 (patch) | |
tree | 4db7ee8540c09d8d0eee80b6d89faace1d08cfd3 /jack-tests/tests/com/android/jack/resource/ResourceTests.java | |
parent | 476637ac146a154903bd8eac67e20467ebcff91a (diff) | |
download | toolchain_jack-200b4b0d9c782fe1a0930f3384f675bed06d6c09.tar.gz toolchain_jack-200b4b0d9c782fe1a0930f3384f675bed06d6c09.tar.bz2 toolchain_jack-200b4b0d9c782fe1a0930f3384f675bed06d6c09.zip |
Bump Java version to fix the build under Trisquel 9
Trisquel 9 has two java versions: Java 8 and Java 11.
Java 8 doesn't support building for Java 1.5 / Java5 anymore[1], so
we need to bump the Java version to at least Java 1.6 for it to build.
And without that fix we have many compilation errors like this one,
on each components that are built against Java 1.5 / Java 5:
(modified to fit the 70 characters limit):
[ERROR] COMPILATION ERROR :
[INFO] -----------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 2 errors
[INFO] -----------------------------------------------------------
[INFO] -----------------------------------------------------------
[INFO] Reactor Summary for Simple 6.0.1:
[INFO]
[INFO] Simple Common ..........................FAILURE [ 1.443 s]
[INFO] Simple Transport ...................................SKIPPED
[INFO] Simple HTTP ........................................SKIPPED
[INFO] Simple .............................................SKIPPED
[INFO] -----------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] -----------------------------------------------------------
[INFO] Total time: 1.873 s
[INFO] Finished at: 2021-07-19T01:28:41+02:00
[INFO] -----------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project simple-common: Compilation
failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 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
References:
-----------
[1]https://openjdk.java.net/jeps/182
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'jack-tests/tests/com/android/jack/resource/ResourceTests.java')
0 files changed, 0 insertions, 0 deletions