diff --git a/maven-core-integration-tests/src/test/resources/it0084/pom.xml b/maven-core-integration-tests/src/test/resources/it0084/pom.xml new file mode 100644 index 0000000000..40d083314e --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + test + test-components + Verify that the collector selecting a particular version gets the correct subtree + 0.1 + Test Components + pom + + + test-component-c + test-component-b + test-component-a + + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-a/pom.xml b/maven-core-integration-tests/src/test/resources/it0084/test-component-a/pom.xml new file mode 100644 index 0000000000..6b2f81817a --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-a/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + + test-components + test + 0.1 + + + test + test-component-a + 0.1 + Test Component A + jar + + + org.apache.maven + maven-core-it-support + 1.4 + + + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-a/src/main/java/A.java b/maven-core-integration-tests/src/test/resources/it0084/test-component-a/src/main/java/A.java new file mode 100644 index 0000000000..73e270dbea --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-a/src/main/java/A.java @@ -0,0 +1,3 @@ +public class A { +} + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-b/pom.xml b/maven-core-integration-tests/src/test/resources/it0084/test-component-b/pom.xml new file mode 100644 index 0000000000..9b4f685f71 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-b/pom.xml @@ -0,0 +1,22 @@ + + 4.0.0 + + test-components + test + 0.1 + + + test + test-component-b + 0.1 + Test Component B + jar + + + + org.apache.maven + maven-core-it-support + 1.3 + + + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-b/src/main/java/B.java b/maven-core-integration-tests/src/test/resources/it0084/test-component-b/src/main/java/B.java new file mode 100644 index 0000000000..142f69843a --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-b/src/main/java/B.java @@ -0,0 +1,4 @@ +public class B +{ +} + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-c/pom.xml b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/pom.xml new file mode 100644 index 0000000000..30344f6100 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/pom.xml @@ -0,0 +1,33 @@ + + 4.0.0 + + test-components + test + 0.1 + + + test + test-component-c + 0.1 + Test Component C + war + + + + org.apache.maven + maven-core-it-support + 1.4 + + + test + test-component-a + 0.1 + + + test + test-component-b + 0.1 + + + + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/java/C.java b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/java/C.java new file mode 100644 index 0000000000..bea74fda04 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/java/C.java @@ -0,0 +1,4 @@ +public class C +{ +} + diff --git a/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/webapp/WEB-INF/web.xml b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..92bb2e9825 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0084/test-component-c/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,5 @@ + + + + +