MNG-5783 let some tests resolve dependencies from remote repository

Artifact filtering moved from plugin dependency resolver to class
realm manager. This means more artifact jars need to be available
for the tests to run successfully. Not quite sure how this worked
before because dependency poms were supposed to be resolved even
before this change.

Signed-off-by: Igor Fedorenko <ifedorenko@apache.org>
This commit is contained in:
Igor Fedorenko 2015-03-10 10:31:29 -04:00
parent c364de58d6
commit 971224ddc3
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ public class MavenITmng4528ExcludeWagonsFromMavenCoreArtifactsTest
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-4528" );
Verifier verifier = newVerifier( testDir.getAbsolutePath() );
Verifier verifier = newVerifier( testDir.getAbsolutePath(), "remote" );
verifier.setAutoclean( false );
verifier.deleteDirectory( "target" );
verifier.executeGoal( "validate" );

View File

@ -66,7 +66,7 @@ public class MavenITmng5482AetherNotFoundTest
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-5482/" + dir );
Verifier verifier = newVerifier( testDir.getAbsolutePath() );
Verifier verifier = newVerifier( testDir.getAbsolutePath(), "remote" );
verifier.setAutoclean( false );
try