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
|
throws Exception
|
||||||
{
|
{
|
||||||
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0064" );
|
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/it0064" );
|
||||||
|
|
||||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
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.executeGoal( "org.apache.maven.its.plugins:maven-it-plugin-setter:setter-touch" );
|
||||||
verifier.assertFilePresent( "target/fooValue" );
|
|
||||||
verifier.assertFilePresent( "target/barValue.baz" );
|
|
||||||
verifier.verifyErrorFreeLog();
|
verifier.verifyErrorFreeLog();
|
||||||
verifier.resetStreams();
|
verifier.resetStreams();
|
||||||
|
|
||||||
|
verifier.assertFilePresent( "target/fooValue" );
|
||||||
|
verifier.assertFilePresent( "target/barValue.baz" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,17 @@
|
||||||
<project>
|
<project>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<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>
|
<groupId>org.apache.maven.its.it0064</groupId>
|
||||||
<dependency>
|
<artifactId>test</artifactId>
|
||||||
<groupId>junit</groupId>
|
<version>1.0</version>
|
||||||
<artifactId>junit</artifactId>
|
<packaging>jar</packaging>
|
||||||
<version>3.8.1</version>
|
|
||||||
<type>jar</type>
|
<name>Maven Integration Test :: it0064</name>
|
||||||
<scope>test</scope>
|
<description>
|
||||||
</dependency>
|
Test the use of a mojo that uses setters instead of private fields
|
||||||
</dependencies>
|
for the population of configuration values.
|
||||||
|
</description>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
Loading…
Reference in New Issue