[MNG-7661] Fix verifier 'clean' call in one of the ITs (#227)

This commit is contained in:
Petr Široký 2023-01-11 13:42:55 +01:00 committed by GitHub
parent 59f503bece
commit cb51050ea6
1 changed files with 6 additions and 4 deletions

View File

@ -43,8 +43,9 @@ public class MavenITmng7112ProjectsWithNonRecursiveTest
throws IOException, VerificationException
{
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
newVerifier( projectDir.getAbsolutePath() ).addCliArgument( "clean" );
newVerifier( projectDir.getAbsolutePath() ).execute();
Verifier cleaner = newVerifier( projectDir.getAbsolutePath() );
cleaner.addCliArgument( "clean" );
cleaner.execute();
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );
@ -67,8 +68,9 @@ public class MavenITmng7112ProjectsWithNonRecursiveTest
throws IOException, VerificationException
{
final File projectDir = ResourceExtractor.simpleExtractResources( getClass(), PROJECT_PATH );
newVerifier( projectDir.getAbsolutePath() ).addCliArgument( "clean" );
newVerifier( projectDir.getAbsolutePath() ).execute();
Verifier cleaner = newVerifier( projectDir.getAbsolutePath() );
cleaner.addCliArgument( "clean" );
cleaner.execute();
final Verifier verifier = newVerifier( projectDir.getAbsolutePath() );