You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2007/11/03 10:56:10 UTC
svn commit: r591571 - in
/maven/core-integration-testing/trunk/core-integration-tests/src/test:
java/org/apache/maven/integrationtests/MavenIT0107Test.java
resources/it0107/pom.xml
Author: brett
Date: Sat Nov 3 02:56:10 2007
New Revision: 591571
URL: http://svn.apache.org/viewvc?rev=591571&view=rev
Log:
this plugin was not given the core-it prefix - bind it to the lifecycle to execute instead
Modified:
maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0107Test.java
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0107/pom.xml
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0107Test.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0107Test.java?rev=591571&r1=591570&r2=591571&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0107Test.java (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/java/org/apache/maven/integrationtests/MavenIT0107Test.java Sat Nov 3 02:56:10 2007
@@ -23,9 +23,8 @@
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0107" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
List cliOptions = new ArrayList();
- cliOptions.add( "-X" );
verifier.setCliOptions( cliOptions );
- verifier.executeGoal( "core-it:param-implementation" );
+ verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
Modified: maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0107/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0107/pom.xml?rev=591571&r1=591570&r2=591571&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0107/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/it0107/pom.xml Sat Nov 3 02:56:10 2007
@@ -12,21 +12,20 @@
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-parameter-implementation</artifactId>
- <version>1.0-SNAPSHOT</version>
- <goals>
- <goal>param-implementation</goal>
- </goals>
- <configuration>
- <bla><field>foobar</field></bla>
- <expected>class org.apache.maven.plugin.coreit.sub.MyBla-foobar</expected>
- </configuration>
+ <version>2.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>param-implementation</goal>
+ </goals>
+ <configuration>
+ <bla><field>foobar</field></bla>
+ <expected>class org.apache.maven.plugin.coreit.sub.MyBla-foobar</expected>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
- <pluginsRepositories>
- <pluginRepository>
- <id>apache.snapshots</id>
- <url>http://people.apache.org/maven-snapshot-repository</url>
- </pluginRepository>
- </pluginsRepositories>
</project>