[ http://jira.codehaus.org/browse/MNG-4334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189433#action_189433 ]
Benjamin Bentmann commented on MNG-4334: ---------------------------------------- Committed first pass in [r810296|http://svn.apache.org/viewvc?view=rev&revision=810296] which moved auth & mirrors into the requests. > maven core caches settings.xml > ------------------------------ > > Key: MNG-4334 > URL: http://jira.codehaus.org/browse/MNG-4334 > Project: Maven 2 > Issue Type: Bug > Components: Embedding > Affects Versions: 3.0 > Reporter: Igor Fedorenko > > From https://issues.sonatype.org/browse/MNGECLIPSE-1553 > {quote} > m2e does not always use current settings.xml. For example, changes to mirror > configuration are not picked up until m2e restart. > After initial investigation the problem comes from mirror information cached > in DefaultMirrorBuilder. LegacyRepositorySystem#authentications and > LegacyRepositorySystem#proxies will likely cause similar problem for > authentication and proxy configuration respectively. > Proper solution most will likely require changes to the way maven core > handles configuration from settings.xml. Ideally, everything should be > encapsulated in MavenExecutionRequest and all maven core components should be > completely stateless. > {quote} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira