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