You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2020/02/21 10:46:54 UTC

[cxf] 02/02: Update to maven-enforcer-plugin 3.0.0-M3

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

buhhunyx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 88c383efb0b4d8e0aba4590f762676cb8b65d4aa
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Fri Feb 21 13:30:59 2020 +0300

    Update to maven-enforcer-plugin 3.0.0-M3
---
 .../src/it/jdk-cxf-with-toolchain/pom.xml          | 40 +++-------------------
 pom.xml                                            |  2 +-
 2 files changed, 5 insertions(+), 37 deletions(-)

diff --git a/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml b/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
index dd38ac0..9cfb2cd 100644
--- a/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
+++ b/maven-plugins/codegen-plugin/src/it/jdk-cxf-with-toolchain/pom.xml
@@ -17,7 +17,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>3.0.0-M2</version>
+        <version>3.0.0-M3</version>
         <executions>
           <execution>
             <id>enforce-jdk9-of-higher</id>
@@ -28,7 +28,7 @@
             <configuration>
               <rules>
                 <requireJavaVersion>
-                  <version>[1.9,)</version>
+                  <version>[9,)</version>
                 </requireJavaVersion>
               </rules>
             </configuration>
@@ -80,41 +80,9 @@
   </build>
   <profiles>
     <profile><!-- used to avoid integration test failures for devs that have no toolchain config -->
-      <id>toolchain-java9</id>
-      <activation>
-        <jdk>9</jdk>
-        <property><!-- Jenkins -->
-          <name>env.BUILD_NUMBER</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-toolchains-plugin</artifactId>
-            <version>1.1</version>
-            <configuration>
-              <toolchains>
-                <jdk>
-                  <version>1.9</version>
-                </jdk>
-              </toolchains>
-            </configuration>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>toolchain</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile><!-- used to avoid integration test failures for devs that have no toolchain config -->
       <id>toolchain</id>
       <activation>
-        <jdk>[10,)</jdk>
+        <jdk>[9,)</jdk>
         <property><!-- Jenkins -->
           <name>env.BUILD_NUMBER</name>
         </property>
@@ -124,7 +92,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-toolchains-plugin</artifactId>
-            <version>1.1</version>
+            <version>3.0.0</version>
             <configuration>
               <toolchains>
                 <jdk>
diff --git a/pom.xml b/pom.xml
index e36981b..f9e707c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -667,7 +667,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-enforcer-plugin</artifactId>
-                    <version>3.0.0-M2</version>
+                    <version>3.0.0-M3</version>
                     <configuration>
                         <rules>
                             <requireMavenVersion>