[ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98065 ]
Carlos Sanchez commented on MNG-3013: ------------------------------------- trying to get a test for this > The plugin manager incorrectly caches plugin versions between embedder calls > ---------------------------------------------------------------------------- > > Key: MNG-3013 > URL: http://jira.codehaus.org/browse/MNG-3013 > Project: Maven 2 > Issue Type: Bug > Components: Embedding > Affects Versions: 2.1-alpha-1 > Reporter: Carlos Sanchez > Assignee: Carlos Sanchez > > If you call the embedder once with a project and then change a plugin version > in the pom and run the same embedder the old version is used. > DefaultPluginManager.java lines 386-391 in revision 541121 > https://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?annotate=536027 > was added in revision 498048 > https://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?view=diff&r1=498047&r2=498048 > Any problem with removing that if block ? -- 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