mirror of https://github.com/apache/archiva.git
fix MRM-1607 in dependency tree too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
146f60c77a
commit
8cfed27b68
|
@ -315,6 +315,8 @@ public class DefaultDependencyTreeBuilder
|
|||
req.setModelSource( modelResolver.resolveModel( groupId, artifactId, version ) );
|
||||
req.setModelResolver( modelResolver );
|
||||
req.setValidationLevel( ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL );
|
||||
//MRM-1607. olamy this will resolve jdk profiles on the current running archiva jvm
|
||||
req.setSystemProperties( System.getProperties() );
|
||||
|
||||
return builder.build( req ).getEffectiveModel();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue