diff --git a/maven-core-it/README.txt b/maven-core-it/README.txt index ca7cc7c928..a1971e4e87 100644 --- a/maven-core-it/README.txt +++ b/maven-core-it/README.txt @@ -131,6 +131,9 @@ it0045: Test non-reactor behavior when plugin declares "@requiresProject false" it0046: Test fail-never reactor behavior. Forces an exception to be thrown in the first module, but checks that the second modules is built. +it0047: Test the use case for having a compile time dependency be transitive: when you extend a class you need its + dependencies at compile time. + ------------------------------------------------------------------------------- - generated sources diff --git a/maven-core-it/integration-tests.txt b/maven-core-it/integration-tests.txt index 98ff33b422..31979171ed 100644 --- a/maven-core-it/integration-tests.txt +++ b/maven-core-it/integration-tests.txt @@ -1,3 +1,4 @@ +it0047 it0046 it0045 it0044 diff --git a/maven-core-it/it0047/expected-results.txt b/maven-core-it/it0047/expected-results.txt new file mode 100644 index 0000000000..04969152fe --- /dev/null +++ b/maven-core-it/it0047/expected-results.txt @@ -0,0 +1 @@ +target/classes/org/apache/maven/it0047/Person.class diff --git a/maven-core-it/it0047/goals.txt b/maven-core-it/it0047/goals.txt new file mode 100644 index 0000000000..582d9721c9 --- /dev/null +++ b/maven-core-it/it0047/goals.txt @@ -0,0 +1 @@ +compile diff --git a/maven-core-it/it0047/pom.xml b/maven-core-it/it0047/pom.xml new file mode 100644 index 0000000000..9993405f4f --- /dev/null +++ b/maven-core-it/it0047/pom.xml @@ -0,0 +1,13 @@ + + 4.0.0 + org.apache.maven + maven-core-it0047 + 1.0 + + + plexus + plexus-container-default + 1.0-alpha-4 + + + diff --git a/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java b/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java new file mode 100644 index 0000000000..45f2f35ead --- /dev/null +++ b/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java @@ -0,0 +1,19 @@ +package org.apache.maven.it0047; + +import org.codehaus.plexus.PlexusTestCase; + +public class Person + extends PlexusTestCase +{ + private String name; + + public void setName( String name ) + { + this.name = name; + } + + public String getName() + { + return name; + } +}