This is an automated email from the ASF dual-hosted git repository.
hboutemy 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 8dd42243e [MNG-7353] choose m-dependency-p versions that match
bootstrap
8dd42243e is described below
commit 8dd42243ecf74c26d4a2788e7871e660eef77115
Author: Hervé Boutemy <[email protected]>
AuthorDate: Mon Aug 22 08:27:23 2022 +0200
[MNG-7353] choose m-dependency-p versions that match bootstrap
---
.../maven/it/MavenITmng7353CliGoalInvocationTest.java | 16 ++++++++--------
.../test/resources/mng-7353-cli-goal-invocation/pom.xml | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
index d5607eddf..a881badf4 100644
---
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
+++
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7353CliGoalInvocationTest.java
@@ -49,13 +49,13 @@ public class MavenITmng7353CliGoalInvocationTest
public void testPrefixGoal()
throws Exception
{
- run( "pluginPrefix-goal", "dependency:list",
"maven-dependency-plugin:3.3.0:list (default-cli)" );
+ run( "pluginPrefix-goal", "dependency:list",
"maven-dependency-plugin:2.7:list (default-cli)" );
}
public void testPrefixGoalAtId()
throws Exception
{
- run( "pluginPrefix-goal@id", "dependency:list@id",
"maven-dependency-plugin:3.3.0:list (id)" );
+ run( "pluginPrefix-goal@id", "dependency:list@id",
"maven-dependency-plugin:2.7:list (id)" );
}
/**
@@ -64,7 +64,7 @@ public class MavenITmng7353CliGoalInvocationTest
public void testPrefixVersionGoal()
throws Exception
{
- run( "pluginPrefix-version-goal", "dependency:3.1.1:list",
"maven-dependency-plugin:3.1.1:list (default-cli)" );
+ run( "pluginPrefix-version-goal", "dependency:2.8:list",
"maven-dependency-plugin:2.8:list (default-cli)" );
}
/**
@@ -73,30 +73,30 @@ public class MavenITmng7353CliGoalInvocationTest
public void testPrefixVersionGoalAtId()
throws Exception
{
- run( "pluginPrefix-goal@id", "dependency:3.1.1:list@id",
"maven-dependency-plugin:3.1.1:list (id)" );
+ run( "pluginPrefix-goal@id", "dependency:2.8:list@id",
"maven-dependency-plugin:2.8:list (id)" );
}
public void testGroupIdArtifactIdGoal()
throws Exception
{
- run( "groupId-artifactId-goal",
"org.apache.maven.plugins:maven-dependency-plugin:list",
"maven-dependency-plugin:3.3.0:list (default-cli)" );
+ run( "groupId-artifactId-goal",
"org.apache.maven.plugins:maven-dependency-plugin:list",
"maven-dependency-plugin:2.7:list (default-cli)" );
}
public void testGroupIdArtifactIdGoalAtId()
throws Exception
{
- run( "groupId-artifactId-goal@id",
"org.apache.maven.plugins:maven-dependency-plugin:list@id",
"maven-dependency-plugin:3.3.0:list (id)" );
+ run( "groupId-artifactId-goal@id",
"org.apache.maven.plugins:maven-dependency-plugin:list@id",
"maven-dependency-plugin:2.7:list (id)" );
}
public void testGroupIdArtifactIdVersionGoal()
throws Exception
{
- run( "groupId-artifactId-version-goal",
"org.apache.maven.plugins:maven-dependency-plugin:3.1.1:list",
"maven-dependency-plugin:3.1.1:list (default-cli)" );
+ run( "groupId-artifactId-version-goal",
"org.apache.maven.plugins:maven-dependency-plugin:2.8:list",
"maven-dependency-plugin:2.8:list (default-cli)" );
}
public void testGroupIdArtifactIdVersionGoalAtId()
throws Exception
{
- run( "groupId-artifactId-version-goal@id",
"org.apache.maven.plugins:maven-dependency-plugin:3.1.1:list@id",
"maven-dependency-plugin:3.1.1:list (id)" );
+ run( "groupId-artifactId-version-goal@id",
"org.apache.maven.plugins:maven-dependency-plugin:2.8:list@id",
"maven-dependency-plugin:2.8:list (id)" );
}
}
diff --git
a/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
b/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
index 476dd6f17..5fbb42045 100644
--- a/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
+++ b/core-it-suite/src/test/resources/mng-7353-cli-goal-invocation/pom.xml
@@ -36,7 +36,7 @@ under the License.
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.3.0</version>
+ <version>2.7</version><!-- version from core IT bootstrap -->
</plugin>
</plugins>
</pluginManagement>