[MNG-5982] Pass user properties to ModelBuildingRequest

This commit is contained in:
Sylwester Lachiewicz 2020-01-01 16:01:14 +01:00
parent 08397c2381
commit 5553ff0ca6
1 changed files with 1 additions and 0 deletions

View File

@ -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,