mirror of https://github.com/apache/maven.git
[MNG-5982] Pass user properties to ModelBuildingRequest
This commit is contained in:
parent
08397c2381
commit
5553ff0ca6
|
@ -275,6 +275,7 @@ public class DefaultArtifactDescriptorReader
|
|||
modelRequest.setTwoPhaseBuilding( false );
|
||||
modelRequest.setSystemProperties( toProperties( session.getUserProperties(),
|
||||
session.getSystemProperties() ) );
|
||||
modelRequest.setUserProperties( toProperties( session.getUserProperties(), null ) );
|
||||
modelRequest.setModelCache( DefaultModelCache.newInstance( session ) );
|
||||
modelRequest.setModelResolver( new DefaultModelResolver( session, trace.newChild( modelRequest ),
|
||||
request.getRequestContext(), artifactResolver,
|
||||
|
|
Loading…
Reference in New Issue