From 1139769335289936b1375e698db60bb8dfb95954 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Thu, 19 Oct 2006 20:49:04 +0000 Subject: [PATCH] o adding IT it0083 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465857 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/it0083/pom.xml | 15 ++++++++++ .../resources/it0083/test-component-a/pom.xml | 14 +++++++++ .../test-component-a/src/main/java/A.java | 3 ++ .../resources/it0083/test-component-b/pom.xml | 22 ++++++++++++++ .../test-component-b/src/main/java/B.java | 5 ++++ .../resources/it0083/test-component-c/pom.xml | 29 +++++++++++++++++++ .../test-component-c/src/main/java/C.java | 5 ++++ .../src/main/webapp/WEB-INF/web.xml | 5 ++++ 8 files changed, 98 insertions(+) create mode 100644 maven-core-integration-tests/src/test/resources/it0083/pom.xml create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-a/pom.xml create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-a/src/main/java/A.java create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-b/pom.xml create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-b/src/main/java/B.java create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-c/pom.xml create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/java/C.java create mode 100644 maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/webapp/WEB-INF/web.xml diff --git a/maven-core-integration-tests/src/test/resources/it0083/pom.xml b/maven-core-integration-tests/src/test/resources/it0083/pom.xml new file mode 100644 index 0000000000..ed0ac3a808 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + test + test-components + Verify that overriding a compile time dependency as provided in a WAR ensures it is not included. + 0.1 + Test Components + pom + + + test-component-c + test-component-b + test-component-a + + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-a/pom.xml b/maven-core-integration-tests/src/test/resources/it0083/test-component-a/pom.xml new file mode 100644 index 0000000000..2e6df5cfcb --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/test-component-a/pom.xml @@ -0,0 +1,14 @@ + + 4.0.0 + + test-components + test + 0.1 + + + test + test-component-a + 0.1 + Test Component A + jar + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-a/src/main/java/A.java b/maven-core-integration-tests/src/test/resources/it0083/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/it0083/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/it0083/test-component-b/pom.xml b/maven-core-integration-tests/src/test/resources/it0083/test-component-b/pom.xml new file mode 100644 index 0000000000..64745ad784 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/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 + + + + test + test-component-a + 0.1 + + + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-b/src/main/java/B.java b/maven-core-integration-tests/src/test/resources/it0083/test-component-b/src/main/java/B.java new file mode 100644 index 0000000000..c288d4d8b7 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/test-component-b/src/main/java/B.java @@ -0,0 +1,5 @@ +public class B + extends A +{ +} + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-c/pom.xml b/maven-core-integration-tests/src/test/resources/it0083/test-component-c/pom.xml new file mode 100644 index 0000000000..389cd90954 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/test-component-c/pom.xml @@ -0,0 +1,29 @@ + + 4.0.0 + + test-components + test + 0.1 + + + test + test-component-c + 0.1 + Test Component C + war + + + + test + test-component-b + 0.1 + + + test + test-component-a + 0.1 + provided + + + + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/java/C.java b/maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/java/C.java new file mode 100644 index 0000000000..f7546a58a7 --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/java/C.java @@ -0,0 +1,5 @@ +public class C + extends A +{ +} + diff --git a/maven-core-integration-tests/src/test/resources/it0083/test-component-c/src/main/webapp/WEB-INF/web.xml b/maven-core-integration-tests/src/test/resources/it0083/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/it0083/test-component-c/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,5 @@ + + + + +