add integration test for plugin configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-22 06:40:08 +00:00
parent 68f8dee678
commit 72d8486c7c
6 changed files with 45 additions and 0 deletions

View File

@ -27,6 +27,9 @@ it0008: Simple goal decoration where a plugin binds to a phase and the plugin mu
test also checks to make sure that mojo parameters are aligned to the
project basedir when their type is "java.io.File".
it0009: Test plugin configuration and goal configuration that overrides what the
mojo has specified.
it0010: Since the artifact resolution does not use the project builder, we must
ensure that the full hierarchy of all dependencies is resolved. This
includes the dependencies of the parent-pom's of dependencies. This test

View File

@ -6,6 +6,7 @@ it0004
it0005
it0007
it0008
it0009
it0010
it0011
it0012

View File

@ -0,0 +1,2 @@
target/pluginItem.txt
target/goalItem.txt

View File

@ -0,0 +1 @@
core-it:touch

View File

@ -0,0 +1,37 @@
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>maven</groupId>
<artifactId>maven-core-it0009</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>maven</groupId>
<artifactId>maven-core-it-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<pluginItem>pluginItem</pluginItem>
<goalItem>bad-item</goalItem>
</configuration>
<goals>
<goal>
<id>touch</id>
<configuration>
<goalItem>goalItem</goalItem>
</configuration>
</goal>
</goals>
</plugin>
</plugins>
</build>
</model>

View File

@ -0,0 +1 @@
rm ${localRepository}/maven/plugins/maven-core-it-plugin-1.0-SNAPSHOT.jar