updated test

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@639415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brian E Fox 2008-03-20 19:18:59 +00:00
parent 69c43a17bc
commit 93f48cffa2
2 changed files with 19 additions and 13 deletions

View File

@ -19,13 +19,7 @@ public class MavenITmng3473PluginReportCrash
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugin:maven-plugin-plugin:2.3" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugin:maven-plugin-plugin:2.4" );
verifier.executeGoal( "site" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}

View File

@ -13,11 +13,23 @@
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-6</version>
</plugins>
</pluginManagement>
</build>
<reporting>
<outputDirectory>target/site</outputDirectory>
<plugins>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<!--only fails with 2.4, not 2.3-->
<version>2.4</version>
</plugin>
</plugins>
</reporting>
</project>