diff --git a/maven-core-it/README.txt b/maven-core-it/README.txt index e983540099..5cf78e5332 100644 --- a/maven-core-it/README.txt +++ b/maven-core-it/README.txt @@ -210,6 +210,10 @@ it0076: Test that plugins in pluginManagement aren't included in the build it0077: Test test jar attachment. +it0078: Test that configuration for maven-compiler-plugin is injected from + PluginManagement section even when it's not explicitly defined in the + plugins section. + ------------------------------------------------------------------------------- - generated sources diff --git a/maven-core-it/integration-tests.txt b/maven-core-it/integration-tests.txt index 4da858109c..9ee5dc61eb 100644 --- a/maven-core-it/integration-tests.txt +++ b/maven-core-it/integration-tests.txt @@ -1,3 +1,4 @@ +it0078 it0077 it0076 it0075 diff --git a/maven-core-it/it0078/expected-results.txt b/maven-core-it/it0078/expected-results.txt new file mode 100644 index 0000000000..6b77f0420f --- /dev/null +++ b/maven-core-it/it0078/expected-results.txt @@ -0,0 +1 @@ +!target/classes/Test.class diff --git a/maven-core-it/it0078/goals.txt b/maven-core-it/it0078/goals.txt new file mode 100644 index 0000000000..582d9721c9 --- /dev/null +++ b/maven-core-it/it0078/goals.txt @@ -0,0 +1 @@ +compile diff --git a/maven-core-it/it0078/pom.xml b/maven-core-it/it0078/pom.xml new file mode 100644 index 0000000000..8921b83d33 --- /dev/null +++ b/maven-core-it/it0078/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + org.apache.maven.it + maven-core-it0078 + jar + 1.0 + + + + + maven-compiler-plugin + + + **/Test.java + + + + + + + diff --git a/maven-core-it/it0078/src/main/java/Test.java b/maven-core-it/it0078/src/main/java/Test.java new file mode 100644 index 0000000000..a0d36b07d4 --- /dev/null +++ b/maven-core-it/it0078/src/main/java/Test.java @@ -0,0 +1,6 @@ +import java.util.List; + +public class Test +{ + private List strings; +}