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:
Benjamin Bentmann 2009-06-17 14:54:31 +00:00
parent 114cbf2d4a
commit 38ecf699e3
1 changed files with 2 additions and 2 deletions

View File

@ -489,7 +489,7 @@ public class PomConstructionTest
{
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/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*/
@ -1424,7 +1424,7 @@ public class PomConstructionTest
throws Exception
{
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()