o Extended test

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-21 18:22:34 +00:00
parent e7eeaba62a
commit e8636ac8a7
2 changed files with 13 additions and 0 deletions

View File

@ -1117,6 +1117,11 @@ public class PomConstructionTest
assertEquals( 1, ( (List<?>) pom.getValue( "build/testResources[1]/excludes" ) ).size() );
assertPathSuffixEquals( "test.excluded", pom.getValue( "build/testResources[1]/excludes[1]" ) );
assertEquals( 1, ( (List<?>) pom.getValue( "build/extensions" ) ).size() );
assertEquals( "org.apache.maven.its.ext", pom.getValue( "build/extensions[1]/groupId" ) );
assertEquals( "ext", pom.getValue( "build/extensions[1]/artifactId" ) );
assertEquals( "3.0", pom.getValue( "build/extensions[1]/version" ) );
assertEquals( 1, ( (List<?>) pom.getValue( "build/plugins" ) ).size() );
assertEquals( "org.apache.maven.its.plugins", pom.getValue( "build/plugins[1]/groupId" ) );
assertEquals( "maven-it-plugin-build", pom.getValue( "build/plugins[1]/artifactId" ) );

View File

@ -200,6 +200,14 @@ under the License.
</repositories>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.its.ext</groupId>
<artifactId>ext</artifactId>
<version>3.0</version>
</extension>
</extensions>
<defaultGoal>test</defaultGoal>
<directory>build</directory>
<sourceDirectory>sources/main</sourceDirectory>