mirror of https://github.com/apache/maven.git
[MNG-7661] Fix verifier 'clean' call in one of the ITs (#227)
This commit is contained in:
parent
59f503bece
commit
cb51050ea6
|
@ -43,8 +43,9 @@ public class MavenITmng7112ProjectsWithNonRecursiveTest
|
||||||
throws IOException, VerificationException
|
throws IOException, VerificationException
|
||||||
{
|
{
|
||||||
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
|
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
|
||||||
newVerifier( projectDir.getAbsolutePath() ).addCliArgument( "clean" );
|
Verifier cleaner = newVerifier( projectDir.getAbsolutePath() );
|
||||||
newVerifier( projectDir.getAbsolutePath() ).execute();
|
cleaner.addCliArgument( "clean" );
|
||||||
|
cleaner.execute();
|
||||||
|
|
||||||
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
|
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
|
||||||
|
|
||||||
|
@ -67,8 +68,9 @@ public class MavenITmng7112ProjectsWithNonRecursiveTest
|
||||||
throws IOException, VerificationException
|
throws IOException, VerificationException
|
||||||
{
|
{
|
||||||
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
|
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
|
||||||
newVerifier( projectDir.getAbsolutePath() ).addCliArgument( "clean" );
|
Verifier cleaner = newVerifier( projectDir.getAbsolutePath() );
|
||||||
newVerifier( projectDir.getAbsolutePath() ).execute();
|
cleaner.addCliArgument( "clean" );
|
||||||
|
cleaner.execute();
|
||||||
|
|
||||||
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
|
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue