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 13:23:30 UTC
[maven-integration-testing] branch master updated: Use old version of m-enforcer-p for JDK 1.7
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push:
new 2d09cea54 Use old version of m-enforcer-p for JDK 1.7
2d09cea54 is described below
commit 2d09cea54a5900f53b98e8d29c1228be9143e597
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>