You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2007/05/29 06:02:58 UTC

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

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


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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127008 ] 

John Casey commented on MNG-3013:
---------------------------------

I've applied a patch that appears to satisfy MNG-3284, can we close this one as well?

> 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
>             Fix For: Reviewed Pending Version Assignment
>
>
> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-3013:
-------------------------------

    Fix Version/s:     (was: 3.0-alpha-3)
                   3.0-alpha-4

> 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-4
>
>
> 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

        

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

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-3013:
-------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: MNG-2765

> 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: Sub-task
>          Components: Embedding
>    Affects Versions: 3.0-alpha-1
>            Reporter: Carlos Sanchez
>            Assignee: Carlos Sanchez
>             Fix For: 3.0-alpha-4
>
>
> 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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-3013.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s:     (was: 3.0-alpha-4)
                   3.0-alpha-3

Fixed according to {{MavenEmbedderTest.testTwoExecutionsDoNotCacheChangedData}}.

> 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: Sub-task
>          Components: Embedding
>    Affects Versions: 3.0-alpha-1
>            Reporter: Carlos Sanchez
>            Assignee: Benjamin Bentmann
>             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