You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2024/09/16 18:32:08 UTC

(myfaces-tobago) branch main updated: fix: using "release" option (#5440)

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

lofwyr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/main by this push:
     new 91ff50cc1f fix: using "release" option (#5440)
91ff50cc1f is described below

commit 91ff50cc1fc0a8d5ebda1c2216e9ef0d6a453040
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Mon Sep 16 20:32:03 2024 +0200

    fix: using "release" option (#5440)
    
    replace maven-animal-sniffer plugin with
    the -release option
    
    issue: TOBAGO-2356
---
 pom.xml                                    | 6 +-----
 tobago-core/pom.xml                        | 2 --
 tobago-example/tobago-example-demo/pom.xml | 9 ---------
 3 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/pom.xml b/pom.xml
index dd1bdb47b9..facfdd054f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,8 +37,7 @@
     <mojarra40.version>4.0.8</mojarra40.version>
     <slf4j.version>2.0.16</slf4j.version>
     <logback.version>1.5.7</logback.version>
-    <maven.compile.source>1.8</maven.compile.source>
-    <maven.compile.target>1.8</maven.compile.target>
+    <maven.compiler.release>8</maven.compiler.release>
     <maven.compile.encoding>UTF-8</maven.compile.encoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -586,8 +585,6 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.11.0</version>
           <configuration>
-            <source>${maven.compile.source}</source>
-            <target>${maven.compile.target}</target>
             <encoding>${maven.compile.encoding}</encoding>
             <showWarnings>true</showWarnings>
             <useIncrementalCompilation>false</useIncrementalCompilation><!-- see MCOMPILER-209 -->
@@ -626,7 +623,6 @@
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>3.6.3</version>
           <configuration>
-            <source>${maven.compile.source}</source>
             <!-- switched off check in Java 8 -->
             <additionalparam>
                 -Xdoclint:accessibility
diff --git a/tobago-core/pom.xml b/tobago-core/pom.xml
index 045fdc6f31..194f1893dc 100644
--- a/tobago-core/pom.xml
+++ b/tobago-core/pom.xml
@@ -37,8 +37,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>${maven.compile.source}</source>
-          <target>${maven.compile.target}</target>
           <encoding>${maven.compile.encoding}</encoding>
           <showWarnings>true</showWarnings>
           <!-- <compilerArgument>-Xlint:all,-serial,-fallthrough</compilerArgument>-->
diff --git a/tobago-example/tobago-example-demo/pom.xml b/tobago-example/tobago-example-demo/pom.xml
index 41c1bab3b5..57b95ae186 100644
--- a/tobago-example/tobago-example-demo/pom.xml
+++ b/tobago-example/tobago-example-demo/pom.xml
@@ -47,15 +47,6 @@
       </testResource>
     </testResources>
     <plugins>
-      <plugin>
-        <!-- this is needed for ShrinkWrap to use java 8 (QUnitTests) -->
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>${maven.compile.source}</source>
-          <target>${maven.compile.target}</target>
-        </configuration>
-      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>xml-maven-plugin</artifactId>