summaryrefslogtreecommitdiffstats
path: root/simple
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-07-19 01:10:50 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-08-10 14:45:27 +0200
commit200b4b0d9c782fe1a0930f3384f675bed06d6c09 (patch)
tree4db7ee8540c09d8d0eee80b6d89faace1d08cfd3 /simple
parent476637ac146a154903bd8eac67e20467ebcff91a (diff)
downloadtoolchain_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 'simple')
-rw-r--r--simple/simple-common/pom.xml4
-rw-r--r--simple/simple-http/pom.xml4
-rw-r--r--simple/simple-transport/pom.xml4
3 files changed, 6 insertions, 6 deletions
diff --git a/simple/simple-common/pom.xml b/simple/simple-common/pom.xml
index ce5a5767..055f8b2c 100644
--- a/simple/simple-common/pom.xml
+++ b/simple/simple-common/pom.xml
@@ -60,8 +60,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.6</source>
+ <target>1.6</target>
</configuration>
</plugin>
<plugin>
diff --git a/simple/simple-http/pom.xml b/simple/simple-http/pom.xml
index 0146cead..ddc28a56 100644
--- a/simple/simple-http/pom.xml
+++ b/simple/simple-http/pom.xml
@@ -70,8 +70,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.6</source>
+ <target>1.6</target>
</configuration>
</plugin>
<plugin>
diff --git a/simple/simple-transport/pom.xml b/simple/simple-transport/pom.xml
index 60612745..049bf69d 100644
--- a/simple/simple-transport/pom.xml
+++ b/simple/simple-transport/pom.xml
@@ -65,8 +65,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.6</source>
+ <target>1.6</target>
</configuration>
</plugin>
<plugin>