You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 15:22:19 UTC

[jira] Updated: (MNG-3013) The plugin manager incorrectly caches plugin versions between embedder calls

     [ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3013:
------------------------------

    Fix Version/s:     (was: Reviewed Pending Version Assignment)
                   3.0-alpha-3

can probably be closed, scheduling for review

> 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: 3.0-alpha-1
>            Reporter: Carlos Sanchez
>            Assignee: Carlos Sanchez
>             Fix For: 3.0-alpha-3
>
>
> 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