You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2022/02/28 19:58:38 UTC

[plc4x] branch develop updated: fix(plc4j): Bumped minimum java compiler version to 11

This is an automated email from the ASF dual-hosted git repository.

hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new a19ce13  fix(plc4j): Bumped minimum java compiler version to 11
a19ce13 is described below

commit a19ce13f30fcb87f7621bd6c4e9d44f9c3983178
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Tue Mar 1 05:55:58 2022 +1000

    fix(plc4j): Bumped minimum java compiler version to 11
---
 plc4j/pom.xml | 27 +--------------------------
 pom.xml       |  5 +----
 2 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/plc4j/pom.xml b/plc4j/pom.xml
index 482c9ad..5dcbeeb 100644
--- a/plc4j/pom.xml
+++ b/plc4j/pom.xml
@@ -159,10 +159,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
-          <testSource>1.8</testSource>
-          <testTarget>1.8</testTarget>
+          <release>11</release>
         </configuration>
       </plugin>
 
@@ -265,28 +262,6 @@
         </executions>
       </plugin>
 
-      <!-- Ensure the generated output classes are compatible with Java 1.8 -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>animal-sniffer-maven-plugin</artifactId>
-        <version>1.20</version>
-        <executions>
-          <execution>
-            <id>animal-sniffer</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <signature>
-            <groupId>org.codehaus.mojo.signature</groupId>
-            <artifactId>java18</artifactId>
-            <version>1.0</version>
-          </signature>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/pom.xml b/pom.xml
index 377b5e4..2ef21b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1159,10 +1159,7 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.10.0</version>
           <configuration>
-            <source>${java.version}</source>
-            <target>${java.version}</target>
-            <testSource>${java.version}</testSource>
-            <testTarget>${java.version}</testTarget>
+            <release>${java.version}</release>
           </configuration>
         </plugin>