Skip to content

Commit

Permalink
Add system properties to DefaultModelBuilderRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Aug 22, 2020
1 parent 37b7447 commit 48a18a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ private MavenModel load(InputStreamModelSource modelSource) {

DefaultModelBuildingRequest modelBuildingRequest = new DefaultModelBuildingRequest()
.setModelResolver(new ParentModelResolver(repositorySystem, repositorySystemSession, remoteRepositories))
.setModelSource(modelSource);
.setModelSource(modelSource)
.setSystemProperties(System.getProperties());

DefaultModelBuilder modelBuilder = new DefaultModelBuilderFactory() {
@Override
Expand Down

0 comments on commit 48a18a4

Please sign in to comment.