This is an automated email from the ASF dual-hosted git repository.
sparsick pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new bfdc8313bc chore: delete junit3 reference (#11308) (#11771)
bfdc8313bc is described below
commit bfdc8313bc3b455ce32c4a49c43d4b73dde52148
Author: Sandra Parsick <[email protected]>
AuthorDate: Tue Mar 10 09:06:56 2026 +0000
chore: delete junit3 reference (#11308) (#11771)
* chore: delete junit3 reference
- updated test to junit5
- delete dead code
* fix(ci): replace junit 3 dep by junit 5 dep
* fix(ci): replace junit 3 dep by junit 4 dep
* Remove reference for junit.framework.TestCas from test plugin
---------
(cherry picked from commit 9d675bb07c278b46a109b95dcf6a9adad3aa33e0)
Signed-off-by: Sandra Parsick <[email protected]>
---
.../conflict/AbstractConflictResolverTest.java | 5 --
.../src/examples/simple-project/pom.xml | 12 ++---
.../java/org/apache/maven/embedder/AppTest.java | 36 ++++-----------
.../maven/cli/props/MavenPropertiesTest.java | 4 --
.../org/apache/maven/lifecycle/test/AppTest.java | 36 ++++-----------
.../plexus-utils/1.0.4/plexus-utils-1.0.4.pom | 2 +-
.../it/MavenITmng2690MojoLoadingErrorsTest.java | 4 +-
...mng5640LifecycleParticipantAfterSessionEnd.java | 2 +-
.../src/test/resources/it0030/pom.xml | 2 +-
.../dependencyManagement/child/grandchild1/pom.xml | 18 --------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../dependencyManagement/child/grandchild2/pom.xml | 11 -----
.../main/java/org/apache/maven/mng624/World.java | 25 ----------
.../mng-0624/dependencyManagement/child/pom.xml | 25 ----------
.../mng-0624/dependencyManagement/pom.xml | 23 ----------
.../test/resources/mng-0624/noParentInTree/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/optionalVersion/child1/pom.xml | 14 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../optionalVersion/child2/grandchild/pom.xml | 14 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/optionalVersion/child2/pom.xml | 16 -------
.../optionalVersion/child3/child3child/pom.xml | 14 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/optionalVersion/child3/pom.xml | 16 -------
.../mng-0624/optionalVersion/child4/pom.xml | 14 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/optionalVersion/grandchild2/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../resources/mng-0624/optionalVersion/pom.xml | 14 ------
.../resources/mng-0624/parentBadPath/main/pom.xml | 14 ------
.../main/src/main/java/mng0624/Hello.java | 25 ----------
.../main/src/test/java/mng0624/HelloTest.java | 28 ------------
.../mng-0624/parentBadPath/parent/pom.xml | 22 ---------
.../test/resources/mng-0624/parentBadPath/pom.xml | 14 ------
.../test/resources/mng-0624/simple/child/pom.xml | 37 ---------------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../src/test/resources/mng-0624/simple/pom.xml | 13 ------
.../mng-0624/versionInProperty/child1/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../versionInProperty/child2/grandchild/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/versionInProperty/child2/pom.xml | 17 -------
.../versionInProperty/child3/child3child/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/versionInProperty/child3/pom.xml | 17 -------
.../mng-0624/versionInProperty/child4/pom.xml | 15 ------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../mng-0624/versionInProperty/grandchild2/pom.xml | 16 -------
.../java/org/apache/maven/mng624/HelloWorld.java | 25 ----------
.../resources/mng-0624/versionInProperty/pom.xml | 18 --------
.../test/java/com/stchome/mavenTest/AppTest.java | 32 +------------
.../src/test/resources/mng-2289/issue/pom.xml | 23 ----------
.../issue/src/main/java/mng/Issue2289.java | 28 ------------
.../src/test/resources/mng-2289/parent/pom1.xml | 52 ---------------------
.../src/test/resources/mng-2289/parent/pom2.xml | 53 ----------------------
.../src/test/resources/mng-2289/test.sh | 25 ----------
.../test/resources/mng-3038/test-project/A/pom.xml | 6 +--
.../org/apache/maven/its/it0121/A/AppTest.java | 10 ++--
.../mng-3372/direct-using-prefix/project/pom.xml | 6 +--
.../project/src/test/java/org/test/AppTest.java | 24 ++--------
.../src/test/resources/mng-3485/pom.xml | 6 +--
.../java/org/apache/maven/its/mng3485/AppTest.java | 24 ++--------
.../mng-3498/maven-mng3498-plugin/pom.xml | 2 +-
.../src/test/resources/mng-3506/mng-3506.1/pom.xml | 6 +--
.../java/org/apache/maven/its/mng3506/AppTest.java | 25 ++--------
.../src/test/resources/mng-3506/mng-3506.2/pom.xml | 6 +--
.../java/org/apache/maven/its/mng3506/AppTest.java | 24 ++--------
.../src/test/resources/mng-3671/pom.xml | 6 +--
.../mng-3671/src/test/java/testing/AppTest.java | 24 ++--------
.../mng-3684/maven-mng3684-plugin/pom.xml | 2 +-
.../mng-3693/maven-mng3693-plugin/pom.xml | 2 +-
.../test/resources/mng-3693/projects/app/pom.xml | 2 +-
.../mng-3694/maven-mng3694-plugin/pom.xml | 2 +-
.../resources/mng-3694/projects/not-used/pom.xml | 6 +--
.../not-used/src/test/java/tests/AppTest.java | 24 ++--------
.../resources/mng-3694/projects/project/pom.xml | 6 +--
.../project/src/test/java/tests/AppTest.java | 24 ++--------
.../mng-3703/maven-mng3703-plugin/pom.xml | 2 +-
.../src/test/resources/mng-3703/project/pom.xml | 2 +-
.../maven-mng3710-directInvoke-plugin/pom.xml | 2 +-
.../maven-mng3710-originalModel-plugin/pom.xml | 2 +-
.../maven-mng3710-pomInheritance-plugin/pom.xml | 2 +-
.../mng-3716/maven-mng3716-plugin/pom.xml | 2 +-
.../resources/mng-3716/projects/child1/pom.xml | 2 +-
.../resources/mng-3716/projects/child2/pom.xml | 2 +-
.../mng-3723/maven-mng3723-plugin/pom.xml | 2 +-
.../mng-3724/maven-mng3724-plugin/pom.xml | 2 +-
.../mng-3729/maven-mng3729-plugin/pom.xml | 2 +-
.../mng-3746/maven-mng3746-plugin/pom.xml | 2 +-
.../src/test/resources/mng-4005/dep/pom.xml | 2 +-
.../src/test/resources/mng-4005/man-dep/pom.xml | 4 +-
.../test/resources/mng-4005/profile-dep/pom.xml | 4 +-
.../resources/mng-4005/profile-man-dep/pom.xml | 4 +-
.../src/test/resources/mng-4270/pom.xml | 6 +--
.../java/org/apache/maven/its/mng3506/AppTest.java | 24 ++--------
.../src/test/resources/mng-5338/project/pom.xml | 6 +--
.../java/org/apache/maven/its/mng5338/AppTest.java | 24 ++--------
.../builderror-mojoex/pom.xml | 6 +--
.../builderror-runtimeex/pom.xml | 6 +--
.../buildfailure-depmissing/pom.xml | 6 +--
.../org/apache/maven/its/mng5640/FailingTest.java | 7 ++-
.../buildfailure-utfail/pom.xml | 6 +--
.../org/apache/maven/its/mng5640/FailingTest.java | 7 ++-
.../core-it-plugins/maven-it-plugin-error/pom.xml | 6 +--
.../coreit/NoClassDefFoundErrorComponentMojo.java | 6 +--
.../coreit/NoClassDefFoundErrorInterfaceMojo.java | 4 +-
.../RequirementComponentLookupExceptionMojo.java | 4 +-
108 files changed, 166 insertions(+), 1383 deletions(-)
diff --git
a/compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
b/compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
index 2bbfc00915..851ee61132 100644
---
a/compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
+++
b/compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
@@ -69,11 +69,6 @@ public AbstractConflictResolverTest(String roleHint) throws
Exception {
this.roleHint = roleHint;
}
- // TestCase methods -------------------------------------------------------
-
- /*
- * @see junit.framework.TestCase#setUp()
- */
@BeforeEach
public void setUp() throws Exception {
conflictResolver = (ConflictResolver)
container.lookup(ConflictResolver.ROLE, roleHint);
diff --git a/compat/maven-embedder/src/examples/simple-project/pom.xml
b/compat/maven-embedder/src/examples/simple-project/pom.xml
index 0f8deb0dad..d466107ebd 100644
--- a/compat/maven-embedder/src/examples/simple-project/pom.xml
+++ b/compat/maven-embedder/src/examples/simple-project/pom.xml
@@ -26,12 +26,12 @@ under the License.
<name>simple-project</name>
<url>http://maven.apache.org</url>
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.1</version>
- <scope>test</scope>
- </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<properties>
<environment>development</environment>
diff --git
a/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
b/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
index f514980611..a0305a23aa 100644
---
a/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
+++
b/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
@@ -19,39 +19,19 @@
package org.apache.maven.embedder;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
+public class AppTest {
/**
- * @return the suite of tests being tested
+ * Rigourous Test :-)
*/
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigorous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
}
+
diff --git
a/compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
b/compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
index 72628a365f..16724ab440 100644
---
a/compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
+++
b/compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
@@ -59,10 +59,6 @@ public class MavenPropertiesTest {
test=test
""";
- /*
- * (non-Javadoc)
- * @see junit.framework.TestCase#setUp()
- */
@BeforeEach
public void setUp() throws Exception {
properties = new MavenProperties();
diff --git
a/impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
b/impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
index b1ae1ed5ee..ffedfa796f 100644
---
a/impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
+++
b/impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
@@ -1,38 +1,18 @@
package org.apache.maven.lifecycle.test;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
+public class AppTest {
/**
- * @return the suite of tests being tested
+ * Rigourous Test :-)
*/
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigorous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
+ @Test
+ public void testApp() {
+ assertTrue(true);
}
}
+
diff --git
a/impl/maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
b/impl/maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
index 4c60828826..805caa11f9 100644
---
a/impl/maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
+++
b/impl/maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
@@ -212,7 +212,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
index a8598de46f..c41a87c8e2 100644
---
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
+++
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng2690MojoLoadingErrorsTest.java
@@ -60,7 +60,7 @@ public void testNoClassDefFromMojoLoad() throws IOException,
VerificationExcepti
int msg = indexOf(lines, "(?i).*required class is missing.*");
assertTrue(msg >= 0, "User-friendly message was not found in output.");
- int cls = lines.get(msg).toString().replace('/',
'.').indexOf("junit.framework.TestCase");
+ int cls = lines.get(msg).toString().replace('/',
'.').indexOf("org.apache.commons.lang3.StringUtils");
assertTrue(cls >= 0, "Missing class name was not found in output.");
}
@@ -80,7 +80,7 @@ public void testNoClassDefFromMojoConfiguration() throws
IOException, Verificati
int msg = indexOf(lines, "(?i).*required class (i|wa)s missing( during
(mojo )?configuration)?.*");
assertTrue(msg >= 0, "User-friendly message was not found in output.");
- int cls = lines.get(msg).toString().replace('/',
'.').indexOf("junit.framework.TestCase");
+ int cls = lines.get(msg).toString().replace('/',
'.').indexOf("org.apache.commons.lang3.StringUtils");
assertTrue(cls >= 0, "Missing class name was not found in output.");
}
diff --git
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5640LifecycleParticipantAfterSessionEnd.java
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5640LifecycleParticipantAfterSessionEnd.java
index b28a8ee933..f86d31b3c9 100644
---
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5640LifecycleParticipantAfterSessionEnd.java
+++
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5640LifecycleParticipantAfterSessionEnd.java
@@ -56,7 +56,7 @@ public void testBuildFailureUTFail() throws Exception {
verifier = newVerifier(projectDir.getAbsolutePath(), "remote");
verifier.addCliArgument("package");
assertThrows(VerificationException.class, verifier::execute, "The
build should fail");
-
verifier.verifyTextInLog("testApp(org.apache.maven.its.mng5640.FailingTest)");
+ verifier.verifyTextInLog("testApp()");
verifier.verifyFilePresent("target/afterProjectsRead.txt");
// See https://issues.apache.org/jira/browse/MNG-5641
diff --git a/its/core-it-suite/src/test/resources/it0030/pom.xml
b/its/core-it-suite/src/test/resources/it0030/pom.xml
index b2bde9435c..6e01260501 100644
--- a/its/core-it-suite/src/test/resources/it0030/pom.xml
+++ b/its/core-it-suite/src/test/resources/it0030/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
</dependency>
<dependency>
<groupId>org.apache.maven.its.it0030</groupId>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/pom.xml
deleted file mode 100644
index f24f39f04a..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>child</artifactId>
- </parent>
- <artifactId>grandchild1</artifactId>
- <packaging>jar</packaging>
- <name>grandchild1</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>grandchild2</artifactId>
- </dependency>
- </dependencies>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index 573876cdc7..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild1/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello " + World.getWorld());
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/pom.xml
deleted file mode 100644
index f8ee508a9a..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/pom.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>child</artifactId>
- </parent>
- <artifactId>grandchild2</artifactId>
- <packaging>jar</packaging>
- <name>grandchild2</name>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/src/main/java/org/apache/maven/mng624/World.java
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/src/main/java/org/apache/maven/mng624/World.java
deleted file mode 100644
index 21d290acea..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/grandchild2/src/main/java/org/apache/maven/mng624/World.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class World {
- public static String getWorld() {
- return "earth";
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/pom.xml
deleted file mode 100644
index 98ef9803ec..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/child/pom.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <artifactId>child</artifactId>
- <packaging>pom</packaging>
- <name>child</name>
- <modules>
- <module>grandchild1</module>
- <module>grandchild2</module>
- </modules>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>grandchild2</artifactId>
- <version>${ver}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/pom.xml
deleted file mode 100644
index 518a98e862..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/dependencyManagement/pom.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.its.mng624.depmgmt</groupId>
- <artifactId>parent</artifactId>
- <version>1</version>
- <packaging>pom</packaging>
- <name>mng624 parent</name>
- <modules>
- <module>child</module>
- </modules>
-
- <distributionManagement>
- <repository>
- <id>topaz</id>
- <url>http://gandalf.topazproject.org/maven2/</url>
- </repository>
- </distributionManagement>
-
- <properties>
- <ver>1</ver>
- </properties>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/pom.xml
deleted file mode 100644
index 21fe52a934..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child1</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child1</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/noParentInTree/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/pom.xml
deleted file mode 100644
index e27d2cb68b..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child1</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child1</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/pom.xml
deleted file mode 100644
index 07b92b8006..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child2</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>grandchild</artifactId>
- <packaging>jar</packaging>
- <name>mng624 grandchild</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/pom.xml
deleted file mode 100644
index 8ef560df1e..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child2/pom.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child2</artifactId>
- <packaging>pom</packaging>
- <name>mng624 child2</name>
- <modules>
- <module>grandchild</module>
- <module>../grandchild2</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/pom.xml
deleted file mode 100644
index 4d142683df..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child3</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child3child</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child3child</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/pom.xml
deleted file mode 100644
index 97c1bf9707..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child3/pom.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child3</artifactId>
- <version>2</version>
- <packaging>pom</packaging>
- <name>mng624 child3</name>
- <modules>
- <module>child3child</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/pom.xml
deleted file mode 100644
index 5be6958e48..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>parent</artifactId>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child4</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child4</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/pom.xml
deleted file mode 100644
index c605e5a28c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>child2</artifactId>
- <relativePath>../child2/pom.xml</relativePath>
- </parent>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>grandchild2</artifactId>
- <packaging>jar</packaging>
- <name>mng624 grandchild2</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/pom.xml
deleted file mode 100644
index 19e301aeab..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/optionalVersion/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.its.mng624.opt</groupId>
- <artifactId>parent</artifactId>
- <version>1</version>
- <packaging>pom</packaging>
- <name>mng624 parent</name>
- <modules>
- <module>child1</module>
- <module>child2</module>
- <module>child3</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/pom.xml
deleted file mode 100644
index 0b5a96719b..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng0624</groupId>
- <artifactId>maven-it-mng0624-basic-parent</artifactId>
- <version>${mng0624ParentPom}</version>
- <relativePath>../parent</relativePath>
- </parent>
- <groupId>org.apache.maven.its.mng0624</groupId>
- <artifactId>maven-it-mng0624-main</artifactId>
- <version>1.0</version>
- <name>Maven Integration Test :: mng0624 :: Main</name>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/main/java/mng0624/Hello.java
b/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/main/java/mng0624/Hello.java
deleted file mode 100644
index 9a42e94180..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/main/java/mng0624/Hello.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package mng0624;
-
-public class Hello {
- public void helloWorld() {
- System.out.println("Hello World!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/test/java/mng0624/HelloTest.java
b/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/test/java/mng0624/HelloTest.java
deleted file mode 100644
index 70f6064c70..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/main/src/test/java/mng0624/HelloTest.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package mng0624;
-
-import junit.framework.TestCase;
-
-public class HelloTest extends TestCase {
- public void testHello() throws Exception {
- Hello hello = new Hello();
- hello.helloWorld();
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/parent/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/parent/pom.xml
deleted file mode 100644
index 1e5bda68c4..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/parent/pom.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng0624</groupId>
- <artifactId>maven-it-mng0624-basic</artifactId>
- <version>${mng0624pom}</version>
- </parent>
- <groupId>org.apache.maven.its.mng0624</groupId>
- <artifactId>maven-it-mng0624-basic-parent</artifactId>
- <version>1.1</version>
- <packaging>pom</packaging>
- <name>Maven Integration Test :: mng0624 :: Parent</name>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/pom.xml
deleted file mode 100644
index 25758f09dd..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/parentBadPath/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.its.mng0624</groupId>
- <artifactId>maven-it-mng0624-basic</artifactId>
- <version>1.0</version>
- <packaging>pom</packaging>
- <name>Maven Integration Test :: mng0624</name>
- <description>Test that child can get its parent without specifying a
version</description>
- <modules>
- <module>parent</module>
- <module>main</module>
- </modules>
-</project>
diff --git a/its/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
deleted file mode 100644
index a9accbf8c3..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/simple/child/pom.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624.simple</groupId>
- <artifactId>myproject</artifactId>
- </parent>
- <artifactId>child</artifactId>
- <packaging>jar</packaging>
- <name>mng624 simple child</name>
-
- <profiles>
- <profile>
- <id>test</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>install</phase>
- <configuration>
- <target>
- <echo>hello world</echo>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/simple/child/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/simple/child/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/simple/child/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git a/its/core-it-suite/src/test/resources/mng-0624/simple/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/simple/pom.xml
deleted file mode 100644
index 7304a7eaf6..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/simple/pom.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.its.mng624.simple</groupId>
- <artifactId>myproject</artifactId>
- <version>1</version>
- <packaging>pom</packaging>
- <name>mng624 myproject</name>
-
- <modules>
- <module>child</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/pom.xml
deleted file mode 100644
index 21fe52a934..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child1</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child1</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child1/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/pom.xml
deleted file mode 100644
index bd947d126a..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child2</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>grandchild</artifactId>
- <packaging>jar</packaging>
- <name>mng624 grandchild</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/grandchild/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/pom.xml
deleted file mode 100644
index 1f25df4ff5..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child2/pom.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child2</artifactId>
- <packaging>pom</packaging>
- <name>mng624 child2</name>
- <modules>
- <module>grandchild</module>
- <module>../grandchild2</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/pom.xml
deleted file mode 100644
index ce5d48ccd8..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child3</artifactId>
- <version>2</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child3child</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child3child</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/child3child/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/pom.xml
deleted file mode 100644
index ba28035a79..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child3/pom.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child3</artifactId>
- <version>2</version>
- <packaging>pom</packaging>
- <name>mng624 child3</name>
- <modules>
- <module>child3child</module>
- </modules>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/pom.xml
deleted file mode 100644
index 57b8412396..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/pom.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child4</artifactId>
- <packaging>jar</packaging>
- <name>mng624 child4</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/child4/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/pom.xml
deleted file mode 100644
index 8bce39cf93..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/pom.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>child2</artifactId>
- <version>${ver}</version>
- <relativePath>../child2/pom.xml</relativePath>
- </parent>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>grandchild2</artifactId>
- <packaging>jar</packaging>
- <name>mng624 grandchild2</name>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
deleted file mode 100644
index ba9fff8f1c..0000000000
---
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/grandchild2/src/main/java/org/apache/maven/mng624/HelloWorld.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.maven.mng624;
-
-public class HelloWorld {
- public static void main(String[] args) {
- System.out.println("Hello world!");
- }
-}
diff --git
a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/pom.xml
b/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/pom.xml
deleted file mode 100644
index c3b7cfddb0..0000000000
--- a/its/core-it-suite/src/test/resources/mng-0624/versionInProperty/pom.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.maven.its.mng624</groupId>
- <artifactId>parent</artifactId>
- <version>${ver}</version>
- <packaging>pom</packaging>
- <name>mng624 parent</name>
- <modules>
- <module>child1</module>
- <module>child2</module>
- <module>child3</module>
- </modules>
-
- <properties>
- <ver>1</ver>
- </properties>
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-2054/project/project-level2/project-level3/project-jar/src/test/java/com/stchome/mavenTest/AppTest.java
b/its/core-it-suite/src/test/resources/mng-2054/project/project-level2/project-level3/project-jar/src/test/java/com/stchome/mavenTest/AppTest.java
index f870d71efc..f3de7dbe13 100644
---
a/its/core-it-suite/src/test/resources/mng-2054/project/project-level2/project-level3/project-jar/src/test/java/com/stchome/mavenTest/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-2054/project/project-level2/project-level3/project-jar/src/test/java/com/stchome/mavenTest/AppTest.java
@@ -18,34 +18,4 @@
*/
package com.stchome.mavenTest.it0096;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp() {
- assertTrue(true);
- }
-}
+public class AppTest {}
diff --git a/its/core-it-suite/src/test/resources/mng-2289/issue/pom.xml
b/its/core-it-suite/src/test/resources/mng-2289/issue/pom.xml
deleted file mode 100644
index 223e73ab86..0000000000
--- a/its/core-it-suite/src/test/resources/mng-2289/issue/pom.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.codehaus.jira.mng.2289</groupId>
- <artifactId>parent</artifactId>
- <version>SNAPSHOT</version>
- </parent>
- <artifactId>mng-issue-2289</artifactId>
- <version>SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Issue 2289</name>
- <description><![CDATA[Demonstration of issue 2289.]]></description>
-
- <dependencies>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
- </dependencies>
-
-</project>
diff --git
a/its/core-it-suite/src/test/resources/mng-2289/issue/src/main/java/mng/Issue2289.java
b/its/core-it-suite/src/test/resources/mng-2289/issue/src/main/java/mng/Issue2289.java
deleted file mode 100644
index 5c7d373ac7..0000000000
---
a/its/core-it-suite/src/test/resources/mng-2289/issue/src/main/java/mng/Issue2289.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package mng;
-
-import junit.framework.TestCase;
-
-public class Issue2289 {
- public static void main(final String[] args) {
- TestCase tc = new TestCase("Dummy") {};
- System.exit(tc == null ? -1 : 0);
- }
-}
diff --git a/its/core-it-suite/src/test/resources/mng-2289/parent/pom1.xml
b/its/core-it-suite/src/test/resources/mng-2289/parent/pom1.xml
deleted file mode 100644
index ef6d1f6015..0000000000
--- a/its/core-it-suite/src/test/resources/mng-2289/parent/pom1.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
- xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.codehaus.jira.mng.2289</groupId>
- <artifactId>parent</artifactId>
- <packaging>pom</packaging>
- <name>Parent POM for issue 2289</name>
- <version>SNAPSHOT</version>
- <inceptionYear>2006</inceptionYear>
-
- <build/>
- <profiles/>
- <reporting/>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.0.1</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>local-snapshot-repo</id>
- <name>Local snapshot repository</name>
- <url>file:///tmp/repo-m2-snapshot</url>
- </repository>
- </repositories>
-
- <!-- Define the locations for artifact distribution -->
- <distributionManagement>
- <snapshotRepository>
- <id>demo-snapshot</id>
- <name>Demo Maven 2 snapshot repository</name>
- <url>file:///tmp/repo-m2-snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- </distributionManagement>
-</project>
diff --git a/its/core-it-suite/src/test/resources/mng-2289/parent/pom2.xml
b/its/core-it-suite/src/test/resources/mng-2289/parent/pom2.xml
deleted file mode 100644
index 59df0fadbf..0000000000
--- a/its/core-it-suite/src/test/resources/mng-2289/parent/pom2.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
- xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.codehaus.jira.mng.2289</groupId>
- <artifactId>parent</artifactId>
- <packaging>pom</packaging>
- <name>Parent POM for issue 2289</name>
- <version>SNAPSHOT</version>
- <inceptionYear>2006</inceptionYear>
-
- <build/>
- <profiles/>
- <reporting/>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.0.2</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>local-snapshot-repo</id>
- <name>Local snapshot repository</name>
- <url>file:///tmp/repo-m2-snapshot</url>
- </repository>
- </repositories>
-
- <!-- Define the locations for artifact distribution -->
- <distributionManagement>
- <snapshotRepository>
- <id>demo-snapshot</id>
- <name>Demo Maven 2 snapshot repository</name>
- <url>file:///tmp/repo-m2-snapshot</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- </distributionManagement>
-</project>
diff --git a/its/core-it-suite/src/test/resources/mng-2289/test.sh
b/its/core-it-suite/src/test/resources/mng-2289/test.sh
deleted file mode 100755
index 05fe4670bb..0000000000
--- a/its/core-it-suite/src/test/resources/mng-2289/test.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# We want to test that after changing the parent POM which is a SNAPSHOT, it
is used for any children.
-
-dir=`pwd`
-
-mvn="mvn"
-repo="$HOME/maven-repo-local"
-
-# Remove commons-logging all together
-rm -rf $repo/commons-logging
-# Deploy the parent POM in our file-based remote repository
-( cd parent ; $mvn -f pom1.xml deploy )
-# Run the compile phase for the child project. This will bring down
commons-logging 1.0.1
-( cd issue; $mvn compile )
-# Deploy the parent POM with an update version of the commons-logging
dependency -> 1.0.2
-
-read
-
-( cd parent ; $mvn -f pom2.xml deploy )
-# Move the original commons-logging deps out of the way
-mv $repo/commons-logging $repo/commons-logging-1.0.1
-# Run the child project again and the new version of commons-logging should
come down
-( cd issue; $mvn compile )
-
diff --git
a/its/core-it-suite/src/test/resources/mng-3038/test-project/A/pom.xml
b/its/core-it-suite/src/test/resources/mng-3038/test-project/A/pom.xml
index 02838f10e2..d1f2a27d1c 100644
--- a/its/core-it-suite/src/test/resources/mng-3038/test-project/A/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3038/test-project/A/pom.xml
@@ -13,9 +13,9 @@
<version>1.0</version>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3038/test-project/A/src/test/java/org/apache/maven/its/it0121/A/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3038/test-project/A/src/test/java/org/apache/maven/its/it0121/A/AppTest.java
index f9ac2e1f26..2ee8271063 100644
---
a/its/core-it-suite/src/test/resources/mng-3038/test-project/A/src/test/java/org/apache/maven/its/it0121/A/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3038/test-project/A/src/test/java/org/apache/maven/its/it0121/A/AppTest.java
@@ -18,11 +18,15 @@
*/
package org.apache.maven.its.it0121.A;
-import java.io.*;
+import java.io.PrintWriter;
+import java.io.StringWriter;
-import junit.framework.*;
+import org.junit.jupiter.api.Test;
-public class AppTest extends TestCase {
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+public class AppTest {
+ @Test
public void testOutput() {
App app = new App();
StringWriter actual = new StringWriter();
diff --git
a/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/pom.xml
b/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/pom.xml
index 1312d7a138..decf019455 100644
---
a/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/pom.xml
@@ -9,9 +9,9 @@
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/src/test/java/org/test/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/src/test/java/org/test/AppTest.java
index 19f6ffd440..90e06ec136 100644
---
a/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/src/test/java/org/test/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3372/direct-using-prefix/project/src/test/java/org/test/AppTest.java
@@ -18,33 +18,19 @@
*/
package org.test;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git a/its/core-it-suite/src/test/resources/mng-3485/pom.xml
b/its/core-it-suite/src/test/resources/mng-3485/pom.xml
index b083bd3750..24df0c8e33 100644
--- a/its/core-it-suite/src/test/resources/mng-3485/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3485/pom.xml
@@ -14,9 +14,9 @@
</distributionManagement>
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3485/src/test/java/org/apache/maven/its/mng3485/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3485/src/test/java/org/apache/maven/its/mng3485/AppTest.java
index 4406338fb9..dab62171b4 100644
---
a/its/core-it-suite/src/test/resources/mng-3485/src/test/java/org/apache/maven/its/mng3485/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3485/src/test/java/org/apache/maven/its/mng3485/AppTest.java
@@ -18,33 +18,19 @@
*/
package org.apache.maven.its.mng3485;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-3498/maven-mng3498-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3498/maven-mng3498-plugin/pom.xml
index 8811b743a2..40ace684f3 100644
--- a/its/core-it-suite/src/test/resources/mng-3498/maven-mng3498-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3498/maven-mng3498-plugin/pom.xml
@@ -34,7 +34,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/pom.xml
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/pom.xml
index 483d4426a5..bf44bff90c 100644
--- a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/pom.xml
@@ -31,9 +31,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/src/test/java/org/apache/maven/its/mng3506/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/src/test/java/org/apache/maven/its/mng3506/AppTest.java
index 901f8d216c..30da1ca059 100644
---
a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/src/test/java/org/apache/maven/its/mng3506/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.1/src/test/java/org/apache/maven/its/mng3506/AppTest.java
@@ -18,33 +18,18 @@
*/
package org.apache.maven.its.mng3506;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
-
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/pom.xml
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/pom.xml
index d68d6e9ca0..6e1aa9ca2b 100644
--- a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/pom.xml
@@ -29,9 +29,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/src/test/java/org/apache/maven/its/mng3506/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/src/test/java/org/apache/maven/its/mng3506/AppTest.java
index 901f8d216c..de9f7981b9 100644
---
a/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/src/test/java/org/apache/maven/its/mng3506/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3506/mng-3506.2/src/test/java/org/apache/maven/its/mng3506/AppTest.java
@@ -18,33 +18,19 @@
*/
package org.apache.maven.its.mng3506;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git a/its/core-it-suite/src/test/resources/mng-3671/pom.xml
b/its/core-it-suite/src/test/resources/mng-3671/pom.xml
index c373caeaad..f4340c4b75 100644
--- a/its/core-it-suite/src/test/resources/mng-3671/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3671/pom.xml
@@ -8,9 +8,9 @@
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3671/src/test/java/testing/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3671/src/test/java/testing/AppTest.java
index 8d45fed1a5..94c816a807 100644
---
a/its/core-it-suite/src/test/resources/mng-3671/src/test/java/testing/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3671/src/test/java/testing/AppTest.java
@@ -18,33 +18,19 @@
*/
package testing;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-3684/maven-mng3684-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3684/maven-mng3684-plugin/pom.xml
index c17353d745..1d91d885ca 100644
--- a/its/core-it-suite/src/test/resources/mng-3684/maven-mng3684-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3684/maven-mng3684-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3693/maven-mng3693-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3693/maven-mng3693-plugin/pom.xml
index 1859de6cee..5d578c5441 100644
--- a/its/core-it-suite/src/test/resources/mng-3693/maven-mng3693-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3693/maven-mng3693-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/its/core-it-suite/src/test/resources/mng-3693/projects/app/pom.xml
b/its/core-it-suite/src/test/resources/mng-3693/projects/app/pom.xml
index 0e78972ae3..fe604b4a36 100644
--- a/its/core-it-suite/src/test/resources/mng-3693/projects/app/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3693/projects/app/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3694/maven-mng3694-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3694/maven-mng3694-plugin/pom.xml
index a0919db870..f59320c585 100644
--- a/its/core-it-suite/src/test/resources/mng-3694/maven-mng3694-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3694/maven-mng3694-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/pom.xml
b/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/pom.xml
index 973010801c..7e514eaa97 100644
--- a/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/pom.xml
@@ -8,9 +8,9 @@
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/src/test/java/tests/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/src/test/java/tests/AppTest.java
index 5abee27b21..80cf39b678 100644
---
a/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/src/test/java/tests/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3694/projects/not-used/src/test/java/tests/AppTest.java
@@ -18,33 +18,19 @@
*/
package tests;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-3694/projects/project/pom.xml
b/its/core-it-suite/src/test/resources/mng-3694/projects/project/pom.xml
index 4d1449f8ab..9df425e265 100644
--- a/its/core-it-suite/src/test/resources/mng-3694/projects/project/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3694/projects/project/pom.xml
@@ -8,9 +8,9 @@
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3694/projects/project/src/test/java/tests/AppTest.java
b/its/core-it-suite/src/test/resources/mng-3694/projects/project/src/test/java/tests/AppTest.java
index 5abee27b21..80cf39b678 100644
---
a/its/core-it-suite/src/test/resources/mng-3694/projects/project/src/test/java/tests/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-3694/projects/project/src/test/java/tests/AppTest.java
@@ -18,33 +18,19 @@
*/
package tests;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-3703/maven-mng3703-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3703/maven-mng3703-plugin/pom.xml
index eef5881d77..c4e1e77a92 100644
--- a/its/core-it-suite/src/test/resources/mng-3703/maven-mng3703-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3703/maven-mng3703-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/its/core-it-suite/src/test/resources/mng-3703/project/pom.xml
b/its/core-it-suite/src/test/resources/mng-3703/project/pom.xml
index 1825e643c2..84c7fa80dd 100644
--- a/its/core-it-suite/src/test/resources/mng-3703/project/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3703/project/pom.xml
@@ -10,7 +10,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-directInvoke-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-directInvoke-plugin/pom.xml
index b44afc0285..b18e87df52 100644
---
a/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-directInvoke-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-directInvoke-plugin/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-originalModel-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-originalModel-plugin/pom.xml
index bc05d9f960..e6e52db482 100644
---
a/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-originalModel-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-3710/original-model/plugins/maven-mng3710-originalModel-plugin/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3710/pom-inheritance/maven-mng3710-pomInheritance-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3710/pom-inheritance/maven-mng3710-pomInheritance-plugin/pom.xml
index ad31d4f628..87457bae6c 100644
---
a/its/core-it-suite/src/test/resources/mng-3710/pom-inheritance/maven-mng3710-pomInheritance-plugin/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-3710/pom-inheritance/maven-mng3710-pomInheritance-plugin/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3716/maven-mng3716-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3716/maven-mng3716-plugin/pom.xml
index fdcfbc605e..ba67792add 100644
--- a/its/core-it-suite/src/test/resources/mng-3716/maven-mng3716-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3716/maven-mng3716-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3716/projects/child1/pom.xml
b/its/core-it-suite/src/test/resources/mng-3716/projects/child1/pom.xml
index 733409926d..7d15fe488f 100644
--- a/its/core-it-suite/src/test/resources/mng-3716/projects/child1/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3716/projects/child1/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3716/projects/child2/pom.xml
b/its/core-it-suite/src/test/resources/mng-3716/projects/child2/pom.xml
index c590406d3f..9a2b4c106d 100644
--- a/its/core-it-suite/src/test/resources/mng-3716/projects/child2/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3716/projects/child2/pom.xml
@@ -15,7 +15,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3723/maven-mng3723-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3723/maven-mng3723-plugin/pom.xml
index da83a19878..a8134fa74b 100644
--- a/its/core-it-suite/src/test/resources/mng-3723/maven-mng3723-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3723/maven-mng3723-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3724/maven-mng3724-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3724/maven-mng3724-plugin/pom.xml
index 30842308d6..ddf5fa2e80 100644
--- a/its/core-it-suite/src/test/resources/mng-3724/maven-mng3724-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3724/maven-mng3724-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git
a/its/core-it-suite/src/test/resources/mng-3729/maven-mng3729-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3729/maven-mng3729-plugin/pom.xml
index 73295a4bdb..30f7a07686 100644
--- a/its/core-it-suite/src/test/resources/mng-3729/maven-mng3729-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3729/maven-mng3729-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-3746/maven-mng3746-plugin/pom.xml
b/its/core-it-suite/src/test/resources/mng-3746/maven-mng3746-plugin/pom.xml
index c13b937947..e4efb24f69 100644
--- a/its/core-it-suite/src/test/resources/mng-3746/maven-mng3746-plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3746/maven-mng3746-plugin/pom.xml
@@ -16,7 +16,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-suite/src/test/resources/mng-4005/dep/pom.xml
b/its/core-it-suite/src/test/resources/mng-4005/dep/pom.xml
index 13c25d26fe..29a855b727 100644
--- a/its/core-it-suite/src/test/resources/mng-4005/dep/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-4005/dep/pom.xml
@@ -32,7 +32,7 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>
diff --git a/its/core-it-suite/src/test/resources/mng-4005/man-dep/pom.xml
b/its/core-it-suite/src/test/resources/mng-4005/man-dep/pom.xml
index 92c5d8d44e..67b499c5fe 100644
--- a/its/core-it-suite/src/test/resources/mng-4005/man-dep/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-4005/man-dep/pom.xml
@@ -33,12 +33,12 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.2</version>
+ <version>4.11</version>
</dependency>
</dependencies>
</dependencyManagement>
diff --git a/its/core-it-suite/src/test/resources/mng-4005/profile-dep/pom.xml
b/its/core-it-suite/src/test/resources/mng-4005/profile-dep/pom.xml
index aa9588cdff..2185536b01 100644
--- a/its/core-it-suite/src/test/resources/mng-4005/profile-dep/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-4005/profile-dep/pom.xml
@@ -35,12 +35,12 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.2</version>
+ <version>4.11</version>
</dependency>
</dependencies>
</profile>
diff --git
a/its/core-it-suite/src/test/resources/mng-4005/profile-man-dep/pom.xml
b/its/core-it-suite/src/test/resources/mng-4005/profile-man-dep/pom.xml
index d5ad79ba80..c55d06acc7 100644
--- a/its/core-it-suite/src/test/resources/mng-4005/profile-man-dep/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-4005/profile-man-dep/pom.xml
@@ -36,12 +36,12 @@ under the License.
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <version>4.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>3.8.2</version>
+ <version>4.11</version>
</dependency>
</dependencies>
</dependencyManagement>
diff --git a/its/core-it-suite/src/test/resources/mng-4270/pom.xml
b/its/core-it-suite/src/test/resources/mng-4270/pom.xml
index 664da6cbce..59a8d98d95 100644
--- a/its/core-it-suite/src/test/resources/mng-4270/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-4270/pom.xml
@@ -27,9 +27,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-4270/src/test/java/org/apache/maven/its/mng3506/AppTest.java
b/its/core-it-suite/src/test/resources/mng-4270/src/test/java/org/apache/maven/its/mng3506/AppTest.java
index 901f8d216c..de9f7981b9 100644
---
a/its/core-it-suite/src/test/resources/mng-4270/src/test/java/org/apache/maven/its/mng3506/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-4270/src/test/java/org/apache/maven/its/mng3506/AppTest.java
@@ -18,33 +18,19 @@
*/
package org.apache.maven.its.mng3506;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git a/its/core-it-suite/src/test/resources/mng-5338/project/pom.xml
b/its/core-it-suite/src/test/resources/mng-5338/project/pom.xml
index 4969bf2854..09399002a1 100644
--- a/its/core-it-suite/src/test/resources/mng-5338/project/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-5338/project/pom.xml
@@ -16,9 +16,9 @@
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.2</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-5338/project/src/test/java/org/apache/maven/its/mng5338/AppTest.java
b/its/core-it-suite/src/test/resources/mng-5338/project/src/test/java/org/apache/maven/its/mng5338/AppTest.java
index de1b691145..1b0129c575 100644
---
a/its/core-it-suite/src/test/resources/mng-5338/project/src/test/java/org/apache/maven/its/mng5338/AppTest.java
+++
b/its/core-it-suite/src/test/resources/mng-5338/project/src/test/java/org/apache/maven/its/mng5338/AppTest.java
@@ -18,33 +18,19 @@
*/
package org.apache.maven.its.mng5338;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Unit test for simple App.
*/
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
+public class AppTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(true);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-mojoex/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-mojoex/pom.xml
index 944eb7a61a..d5cf5c5fd5 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-mojoex/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-mojoex/pom.xml
@@ -26,9 +26,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-runtimeex/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-runtimeex/pom.xml
index 4e06c4000a..babb62fb99 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-runtimeex/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/builderror-runtimeex/pom.xml
@@ -26,9 +26,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/pom.xml
index 9f7483e00b..113dfe9118 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/pom.xml
@@ -32,9 +32,9 @@ under the License.
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
index 220e2478ed..e00fd3544f 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-depmissing/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
@@ -18,15 +18,18 @@
*/
package org.apache.maven.its.mng5640;
-import junit.framework.TestCase;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Always failing UT.
*/
-public class FailingTest extends TestCase {
+public class FailingTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(false);
}
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/pom.xml
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/pom.xml
index 007b9b9806..aa8e9cb9c8 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/pom.xml
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/pom.xml
@@ -26,9 +26,9 @@ under the License.
<dependencies>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>5.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
index 220e2478ed..e00fd3544f 100644
---
a/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
+++
b/its/core-it-suite/src/test/resources/mng-5640-lifecycleParticipant-afterSession/buildfailure-utfail/src/test/java/org/apache/maven/its/mng5640/FailingTest.java
@@ -18,15 +18,18 @@
*/
package org.apache.maven.its.mng5640;
-import junit.framework.TestCase;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Always failing UT.
*/
-public class FailingTest extends TestCase {
+public class FailingTest {
/**
* Rigourous Test :-)
*/
+ @Test
public void testApp() {
assertTrue(false);
}
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-error/pom.xml
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/pom.xml
index 6425708ac9..155ef8119e 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-error/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-error/pom.xml
@@ -50,9 +50,9 @@ under the License.
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.2</version>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.20.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorComponentMojo.java
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorComponentMojo.java
index a3af50790d..1483ec4584 100644
---
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorComponentMojo.java
+++
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorComponentMojo.java
@@ -18,7 +18,7 @@
*/
package org.apache.maven.plugin.coreit;
-import junit.framework.TestCase;
+import org.apache.commons.lang3.StringUtils;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
@@ -35,9 +35,9 @@ public class NoClassDefFoundErrorComponentMojo extends
AbstractMojo {
/**
*/
@Parameter(defaultValue = "foo")
- private TestCase value;
+ private StringUtils value;
public void execute() throws MojoExecutionException, MojoFailureException {
- value.getName();
+ value.getClass();
}
}
diff --git
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorInterfaceMojo.java
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorInterfaceMojo.java
index ebf331d021..35e3b9de74 100644
---
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorInterfaceMojo.java
+++
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/NoClassDefFoundErrorInterfaceMojo.java
@@ -18,7 +18,7 @@
*/
package org.apache.maven.plugin.coreit;
-import junit.framework.TestCase;
+import org.apache.commons.lang3.StringUtils;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.logging.Log;
@@ -29,7 +29,7 @@
* loadable when that dependency is missing (in the runtime environment).
*/
@Mojo(name = "no-class-def-found-error-mojo", requiresProject = false)
-public class NoClassDefFoundErrorInterfaceMojo extends TestCase implements
org.apache.maven.plugin.Mojo {
+public class NoClassDefFoundErrorInterfaceMojo extends StringUtils implements
org.apache.maven.plugin.Mojo {
private Log log;
diff --git
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/RequirementComponentLookupExceptionMojo.java
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/RequirementComponentLookupExceptionMojo.java
index b5e7408ce8..e263e28445 100644
---
a/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/RequirementComponentLookupExceptionMojo.java
+++
b/its/core-it-support/core-it-plugins/maven-it-plugin-error/src/main/java/org/apache/maven/plugin/coreit/RequirementComponentLookupExceptionMojo.java
@@ -18,7 +18,7 @@
*/
package org.apache.maven.plugin.coreit;
-import junit.framework.TestCase;
+import org.apache.commons.lang3.StringUtils;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
@@ -32,7 +32,7 @@ public class RequirementComponentLookupExceptionMojo extends
AbstractMojo {
/**
*/
- @Component(role = TestCase.class, hint = "triggers-error")
+ @Component(role = StringUtils.class, hint = "triggers-error")
private org.apache.maven.plugin.Mojo dependency;
public void execute() throws MojoExecutionException, MojoFailureException {