mirror of https://github.com/apache/maven.git
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:
parent
c364de58d6
commit
971224ddc3
|
@ -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" );
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue