Skip to content

Commit

Permalink
[MNG-5982] Pass user properties to ModelBuildingRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Feb 5, 2020
1 parent 716cc1f commit 0a96608
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ private Model loadPom( RepositorySystemSession session, ArtifactDescriptorReques
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,
Expand Down

0 comments on commit 0a96608

Please sign in to comment.