[ https://jira.codehaus.org/browse/MNG-5429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318818#comment-318818 ]
Robert Scholte commented on MNG-5429: ------------------------------------- The problem seems to be in the {{org.apache.maven.execution.DefaultMavenExecutionRequestPopulator}} {code} for ( Proxy proxy : settings.getProxies() ) { if ( !proxy.isActive() ) { continue; } proxy = proxy.clone(); request.addProxy( proxy ); } {code} This filtering seems to be done too early. > REGRESSION: Injected Settings in a Mojo are missing the proxies from > settings.xml > ---------------------------------------------------------------------------------- > > Key: MNG-5429 > URL: https://jira.codehaus.org/browse/MNG-5429 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Settings > Affects Versions: 3.0.1, 3.0.2, 3.0.3, 3.0.4 > Reporter: Robert Scholte > > If you have a Mojo with > {code} > /** > * @parameter expression="${settings}" > * @required > * @readonly > */ > private Settings settings; > {code} > In Maven 2.2.1, the Settings included all the profiles, in Maven3 the proxies > are all missing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira