mirror of https://github.com/apache/maven.git
o Decoupled tests from super POM's plugin management
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@785639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
114cbf2d4a
commit
38ecf699e3
|
@ -489,7 +489,7 @@ public class PomConstructionTest
|
||||||
{
|
{
|
||||||
PomTestWrapper pom = buildPom( "join-different-containers-same-id" );
|
PomTestWrapper pom = buildPom( "join-different-containers-same-id" );
|
||||||
assertEquals( 1, ( (List<?>) pom.getValue( "build/plugins[1]/executions[1]/goals" ) ).size() );
|
assertEquals( 1, ( (List<?>) pom.getValue( "build/plugins[1]/executions[1]/goals" ) ).size() );
|
||||||
assertEquals( 1, ( (List<?>) pom.getValue( "build/pluginManagement/plugins[1]/executions[1]/goals" ) ).size() );
|
assertEquals( 1, ( (List<?>) pom.getValue( "build/pluginManagement/plugins[@artifactId='maven-it-plugin-b']/executions[1]/goals" ) ).size() );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MNG-3937*/
|
/* MNG-3937*/
|
||||||
|
@ -1424,7 +1424,7 @@ public class PomConstructionTest
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
PomTestWrapper pom = this.buildPom( "plugin-management-inheritance");
|
PomTestWrapper pom = this.buildPom( "plugin-management-inheritance");
|
||||||
assertEquals("0.1-stub-SNAPSHOT", pom.getValue( "build/pluginManagement/plugins[1]/version" ) );
|
assertEquals("0.1-stub-SNAPSHOT", pom.getValue( "build/pluginManagement/plugins[@artifactId='maven-compiler-plugin']/version" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testProfilePlugins()
|
public void testProfilePlugins()
|
||||||
|
|
Loading…
Reference in New Issue