Skip to content

Commit

Permalink
Propagate servers & proxies from session to nested maven execution as…
Browse files Browse the repository at this point in the history
… well.
  • Loading branch information
glimmerveen committed Sep 24, 2020
1 parent 959b269 commit 264c0b4
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -97,6 +97,8 @@ public void afterProjectsRead(final MavenSession session) throws MavenExecutionE
.setMirrors(session.getRequest().getMirrors())
.setRemoteRepositories(session.getRequest().getRemoteRepositories())
.setPluginArtifactRepositories(session.getRequest().getPluginArtifactRepositories())
.setServers(session.getRequest().getServers())
.setProxies(session.getRequest().getProxies())
;
// The following user property on the nested execution prevents this extension to activate
// in the nested execution. This is needed, as the extension is not reentrant.
Expand Down

0 comments on commit 264c0b4

Please sign in to comment.