You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/10/07 06:27:26 UTC

[maven-integration-testing] branch master updated: Allow running the it suite with mvn4 (#203)

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

gnodet 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 bd7ba0adf Allow running the it suite with mvn4 (#203)
bd7ba0adf is described below

commit bd7ba0adf5f847b394330cfc022ea833e022ebe5
Author: Guillaume Nodet <gn...@apache.org>
AuthorDate: Fri Oct 7 08:27:22 2022 +0200

    Allow running the it suite with mvn4 (#203)
---
 .../mng-5581-lifecycle-mapping-delegate/basic/pom.xml        |  2 +-
 core-it-support/maven-it-plugin-bootstrap/pom.xml            |  5 -----
 pom.xml                                                      | 12 ++++++++++++
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/basic/pom.xml b/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/basic/pom.xml
index 56c040b89..35b4f19c7 100644
--- a/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/basic/pom.xml
+++ b/core-it-suite/src/test/resources/mng-5581-lifecycle-mapping-delegate/basic/pom.xml
@@ -31,7 +31,7 @@ under the License.
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
-      <version>4.11</version>
+      <version>4.12</version>
     </dependency>
   </dependencies>
 
diff --git a/core-it-support/maven-it-plugin-bootstrap/pom.xml b/core-it-support/maven-it-plugin-bootstrap/pom.xml
index 4eef3049f..841f9efed 100644
--- a/core-it-support/maven-it-plugin-bootstrap/pom.xml
+++ b/core-it-support/maven-it-plugin-bootstrap/pom.xml
@@ -57,11 +57,6 @@ under the License.
       <artifactId>maven-resolver-impl</artifactId>
       <version>${mavenResolverVersion}</version>
     </dependency>
-    <dependency>
-      <groupId>org.apache.maven.plugin-tools</groupId>
-      <artifactId>maven-plugin-annotations</artifactId>
-      <version>3.3</version>
-    </dependency>
   </dependencies>
 
 </project>
diff --git a/pom.xml b/pom.xml
index 74b29f4d9..de8fc4ba4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -212,6 +212,18 @@ under the License.
       </plugins>
     </pluginManagement>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>3.1.0</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>extra-enforcer-rules</artifactId>
+            <version>1.6.0</version>
+          </dependency>
+        </dependencies>
+      </plugin>
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>