o Added svn:eol-style=native

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@639420 13f79535-47bb-0310-9956-ffa450edef68
master
Benjamin Bentmann 2008-03-20 19:27:39 +00:00
parent 51449eae73
commit ed07d4c735
2 changed files with 71 additions and 71 deletions

View File

@ -1,38 +1,38 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-integration-test-sample</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Maven Integration Tests</name>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-verifier</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-integration-test-helper</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- TODO: remove when snapshots are released -->
<repositories>
<repository>
<id>apache.snapshots</id>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-integration-test-sample</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Maven Integration Tests</name>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-verifier</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.its</groupId>
<artifactId>maven-integration-test-helper</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- TODO: remove when snapshots are released -->
<repositories>
<repository>
<id>apache.snapshots</id>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>

View File

@ -1,33 +1,33 @@
import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
/**
* Tests that the PluginDescriptor.getArtifacts() call returns all of the dependencies of the plugin,
* not just those that made it past the filter excluding Maven's core artifacts.
*/
public class PluginReportCrashTest
extends AbstractMavenIntegrationTestCase
{
public void testPluginReport()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/PluginReportCrash" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugins:maven-plugin-plugin:2.3:report" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugins:maven-plugin-plugin:2.4:report" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}
import org.apache.maven.integrationtests.AbstractMavenIntegrationTestCase;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
/**
* Tests that the PluginDescriptor.getArtifacts() call returns all of the dependencies of the plugin,
* not just those that made it past the filter excluding Maven's core artifacts.
*/
public class PluginReportCrashTest
extends AbstractMavenIntegrationTestCase
{
public void testPluginReport()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/PluginReportCrash" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugins:maven-plugin-plugin:2.3:report" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "org.apache.maven.plugins:maven-plugin-plugin:2.4:report" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}