Adding IT for MNG-1052, to test that compiler plugin configuration from the pluginManagement section is injected with the addition of the implicit plugin instance.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-10-03 21:50:35 +00:00
parent fb18d2800d
commit 6632dfeb0d
6 changed files with 34 additions and 0 deletions

View File

@ -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

View File

@ -1,3 +1,4 @@
it0078
it0077
it0076
it0075

View File

@ -0,0 +1 @@
!target/classes/Test.class

View File

@ -0,0 +1 @@
compile

View File

@ -0,0 +1,21 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.it</groupId>
<artifactId>maven-core-it0078</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude implementation="java.lang.String">**/Test.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

View File

@ -0,0 +1,6 @@
import java.util.List;
public class Test
{
private List strings;
}