mirror of
https://github.com/apache/maven.git
synced 2025-02-22 10:00:09 +00:00
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:
parent
fb18d2800d
commit
6632dfeb0d
@ -210,6 +210,10 @@ it0076: Test that plugins in pluginManagement aren't included in the build
|
|||||||
|
|
||||||
it0077: Test test jar attachment.
|
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
|
- generated sources
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
it0078
|
||||||
it0077
|
it0077
|
||||||
it0076
|
it0076
|
||||||
it0075
|
it0075
|
||||||
|
1
maven-core-it/it0078/expected-results.txt
Normal file
1
maven-core-it/it0078/expected-results.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
!target/classes/Test.class
|
1
maven-core-it/it0078/goals.txt
Normal file
1
maven-core-it/it0078/goals.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
compile
|
21
maven-core-it/it0078/pom.xml
Normal file
21
maven-core-it/it0078/pom.xml
Normal 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>
|
6
maven-core-it/it0078/src/main/java/Test.java
Normal file
6
maven-core-it/it0078/src/main/java/Test.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class Test
|
||||||
|
{
|
||||||
|
private List strings;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user