From 54d650d6dd6dd52bc695107c4d4f4f12187e6bed Mon Sep 17 00:00:00 2001 From: Jesse Gorzinski <17914061+ThePrez@users.noreply.github.com> Date: Fri, 29 Mar 2024 15:46:45 -0500 Subject: [PATCH] bld: Move Java minimum to Java 8 --- pom-dist.xml | 251 ++------------------------------------------------- pom.xml | 8 +- 2 files changed, 12 insertions(+), 247 deletions(-) diff --git a/pom-dist.xml b/pom-dist.xml index 4d6ebd16c..2fa0eb108 100644 --- a/pom-dist.xml +++ b/pom-dist.xml @@ -7,7 +7,7 @@ net.sf.jt400 jt400 jar - 20.0.7 + 21.0.0 JTOpen The Open Source version of the IBM Toolbox for Java http://github.com/IBM/JTOpen @@ -25,8 +25,8 @@ UTF-8 UTF-8 8 - 7 - 7 + 8 + 8 yyyy-MM-dd HH:mm:ss false 7.5.0.3 @@ -188,22 +188,6 @@ - - copy-my-resources-java8 - generate-resources - - copy-resources - - - ${project.build.outputDirectory}_java8 - - - ${basedir}/src/main/resources - false - - - - copy-my-resources-java11 generate-resources @@ -236,22 +220,6 @@ - - copy-my-resources-java8-native - generate-resources - - copy-resources - - - ${project.build.outputDirectory}_java8_native - - - ${basedir}/src/main/resources - false - - - - copy-my-resources-java11-native generate-resources @@ -268,22 +236,6 @@ - - copy-source-java8 - generate-sources - - copy-resources - - - ${basedir}/target/sources_java8 - - - ${basedir}/src/main/java - false - - - - copy-source-java11 generate-sources @@ -346,44 +298,6 @@ run - - source-pcml-NetServer-java8 - process-classes - - - Processing NetServer PCML files for Java 8... - - - - - - run - - - - source-pcml-resource-java8 - process-classes - - - Processing PCML files for Java 8... - - - - - - run - - source-pcml-NetServer-java11 process-classes @@ -460,44 +374,6 @@ run - - source-pcml-NetServer-java8-native - process-classes - - - Processing NetServer PCML files for Native Java 8... - - - - - - run - - - - source-pcml-resource-java8-native - process-classes - - - Processing PCML files for Native Java 8... - - - - - - run - - source-pcml-NetServer-java11-native process-classes @@ -536,23 +412,6 @@ run - - source-java8 - process-sources - - - Processing jdbc4.2 files... - - - - - - run - - source-java11 process-sources @@ -579,29 +438,6 @@ maven-compiler-plugin 3.10.0 - - Compile JDK 8 - compile - - compile - - - 8 - 8 - 8 - true - - ${basedir}/target/sources_java8 - - - - **/module-info.java - **/package-info.java - - ${project.build.outputDirectory}_java8 - - - Compile JDK 11 compile @@ -632,39 +468,16 @@ compile - - 7 - 7 - 7 - true - - **/module-info.java - **/package-info.java - - ${project.build.outputDirectory}_native - - - - - Compile Native JDK 8 - compile - - compile - 8 8 8 true - - ${basedir}/target/sources_java8 - - **/module-info.java **/package-info.java - ${project.build.outputDirectory}_java8_native + ${project.build.outputDirectory}_native @@ -699,10 +512,9 @@ compile - - 7 - 7 - 7 + 8 + 8 + 8 true **/module-info.java @@ -765,36 +577,6 @@ - - jt400-java8 - package - - jar - - - ${project.build.outputDirectory}_java8 - java8 - - ${project.build.outputDirectory}/../manifests/jt400_manifest.txt - - - **/com/ibm/as400/access/*ImplNative.class - **/com/ibm/as400/access/BytesWithOffset.class - **/com/ibm/as400/access/LocalIOFB.class - **/com/ibm/as400/access/LocalOpenFeedback.class - **/com/ibm/as400/access/MessageFBDataFormat.class - **/com/ibm/as400/access/MessageFBFormat.class - **/com/ibm/as400/access/NativeVersion.class - **/com/ibm/as400/access/SocketContainerUnix.class - **/com/ibm/as400/access/SocketContainerUnix2*.class - **/com/ibm/as400/access/UnixSocket.class - **/com/ibm/as400/access/UnixSocketImpl.class - **/com/ibm/as400/access/UnixSocketInputStream.class - **/com/ibm/as400/access/UnixSocketOutputStream.class - **/com/ibm/as400/access/UnixSocketUser.class - - - jt400Native package @@ -812,23 +594,6 @@ - - jt400Native-java8 - package - - jar - - - ${project.build.outputDirectory}_java8_native - native-java8 - - ${project.build.outputDirectory}/../manifests/jt400Native_manifest.txt - - - **/com/ibm/as400/vaccess/** - - - jt400Native-java11 package @@ -887,7 +652,7 @@ 3.6.3 UTF-8 - ${basedir}/target/sources_java8 + ${basedir}/src/main/java -html4 -Xmaxwarns 1 true diff --git a/pom.xml b/pom.xml index 3f8e160d9..080fbf166 100644 --- a/pom.xml +++ b/pom.xml @@ -162,8 +162,8 @@ compile - 7 - 7 + 8 + 8 ${basedir}/build @@ -177,8 +177,8 @@ compile - 7 - 7 + 8 + 8 true **/module-info.java