You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/04/08 11:04:10 UTC

[maven-integration-testing] branch old-enforcer-jdk7 created (now 0a81e086c)

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

sjaranowski pushed a change to branch old-enforcer-jdk7
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


      at 0a81e086c Use old version of m-enforcer-p for JDK 1.7

This branch includes the following new commits:

     new 0a81e086c Use old version of m-enforcer-p for JDK 1.7

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-integration-testing] 01/01: Use old version of m-enforcer-p for JDK 1.7

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch old-enforcer-jdk7
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit 0a81e086c97ce775d5ef6f89ae90433aee0c4079
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Fri Apr 8 13:02:22 2022 +0200

    Use old version of m-enforcer-p for JDK 1.7
---
 .../child/pom.xml                                     | 19 ++++++++++++++++++-
 .../child/pom.xml                                     | 19 ++++++++++++++++++-
 .../child/pom.xml                                     | 18 +++++++++++++++++-
 3 files changed, 53 insertions(+), 3 deletions(-)

diff --git a/core-it-suite/src/test/resources/mng-5840-relative-path-range-negative/child/pom.xml b/core-it-suite/src/test/resources/mng-5840-relative-path-range-negative/child/pom.xml
index 572f334b1..3c123f28e 100644
--- a/core-it-suite/src/test/resources/mng-5840-relative-path-range-negative/child/pom.xml
+++ b/core-it-suite/src/test/resources/mng-5840-relative-path-range-negative/child/pom.xml
@@ -13,11 +13,15 @@
   <version>1-SNAPSHOT</version>
   <packaging>pom</packaging>
 
+  <properties>
+    <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>1.4.1</version>
+        <version>${maven-enforcer-plugin.version}</version>
         <executions>
           <execution>
             <inherited>false</inherited>
@@ -36,4 +40,17 @@
     </plugins>
   </build>
 
+  <!-- JDK 7 require older version of enforcer -->
+  <profiles>
+    <profile>
+      <id>jdk7</id>
+      <activation>
+        <jdk>(,1.8)</jdk>
+      </activation>
+      <properties>
+        <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
+      </properties>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/core-it-suite/src/test/resources/mng-5840-relative-path-range-positive/child/pom.xml b/core-it-suite/src/test/resources/mng-5840-relative-path-range-positive/child/pom.xml
index 1e5d1c8dd..e956917d4 100644
--- a/core-it-suite/src/test/resources/mng-5840-relative-path-range-positive/child/pom.xml
+++ b/core-it-suite/src/test/resources/mng-5840-relative-path-range-positive/child/pom.xml
@@ -13,11 +13,15 @@
   <version>1-SNAPSHOT</version>
   <packaging>pom</packaging>
 
+  <properties>
+    <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>1.4.1</version>
+        <version>${maven-enforcer-plugin.version}</version>
         <executions>
           <execution>
             <inherited>false</inherited>
@@ -36,4 +40,17 @@
     </plugins>
   </build>
 
+  <!-- JDK 7 require older version of enforcer -->
+  <profiles>
+    <profile>
+      <id>jdk7</id>
+      <activation>
+        <jdk>(,1.8)</jdk>
+      </activation>
+      <properties>
+        <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
+      </properties>
+    </profile>
+  </profiles>
+
 </project>
diff --git a/core-it-suite/src/test/resources/mng-5840-relative-path-reactor-matching/child/pom.xml b/core-it-suite/src/test/resources/mng-5840-relative-path-reactor-matching/child/pom.xml
index f9e45a17e..6a1fec6be 100644
--- a/core-it-suite/src/test/resources/mng-5840-relative-path-reactor-matching/child/pom.xml
+++ b/core-it-suite/src/test/resources/mng-5840-relative-path-reactor-matching/child/pom.xml
@@ -13,11 +13,15 @@
   <version>1-SNAPSHOT</version>
   <packaging>pom</packaging>
 
+  <properties>
+    <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
         <artifactId>maven-enforcer-plugin</artifactId>
-        <version>1.4.1</version>
+        <version>${maven-enforcer-plugin.version}</version>
         <executions>
           <execution>
             <inherited>false</inherited>
@@ -36,4 +40,16 @@
     </plugins>
   </build>
 
+  <!-- JDK 7 require older version of enforcer -->
+  <profiles>
+    <profile>
+      <id>jdk7</id>
+      <activation>
+        <jdk>(,1.8)</jdk>
+      </activation>
+      <properties>
+        <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
+      </properties>
+    </profile>
+  </profiles>
 </project>