mirror of https://github.com/apache/maven.git
o Decoupled it0064 from production plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@732107 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
113c323caa
commit
96cbeb5ef9
|
@ -36,14 +36,15 @@ public class MavenIT0064Test
|
|||
throws Exception
|
||||
{
|
||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0064" );
|
||||
|
||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||
verifier.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-setter", "1.0", "maven-plugin" );
|
||||
verifier.setAutoclean( false );
|
||||
verifier.deleteDirectory( "target" );
|
||||
verifier.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-setter:setter-touch" );
|
||||
verifier.assertFilePresent( "target/fooValue" );
|
||||
verifier.assertFilePresent( "target/barValue.baz" );
|
||||
verifier.verifyErrorFreeLog();
|
||||
verifier.resetStreams();
|
||||
|
||||
verifier.assertFilePresent( "target/fooValue" );
|
||||
verifier.assertFilePresent( "target/barValue.baz" );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,17 @@
|
|||
<project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Maven Integration Test :: it0064</name>
|
||||
<groupId>org.apache.maven.its.it0064</groupId>
|
||||
<artifactId>maven-it-it0064</artifactId>
|
||||
<description>Test the use of a mojo that uses setters instead of private fields
|
||||
for the population of configuration values.</description>
|
||||
<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>
|
||||
<groupId>org.apache.maven.its.it0064</groupId>
|
||||
<artifactId>test</artifactId>
|
||||
<version>1.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Maven Integration Test :: it0064</name>
|
||||
<description>
|
||||
Test the use of a mojo that uses setters instead of private fields
|
||||
for the population of configuration values.
|
||||
</description>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in New Issue