You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/06/30 17:01:56 UTC

[jira] Closed: (MAVEN-72) Maven installs an old plugin even if a new version of the plugin is installed

Message:

   The following issue has been closed.

   Resolver: Vincent Massol
       Date: Mon, 30 Jun 2003 10:00 AM

Not sure this is relevant anymore. Anyway you should now use "maven plugin:install" to install new plugins.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-72


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-72
    Summary: Maven installs an old plugin even if a new version of the plugin is installed
       Type: Improvement

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: Unknown

    Project: maven
   Versions:
             1.0-beta-7

   Assignee: Vincent Massol
   Reporter: Stéphane MOR

    Created: Wed, 14 Aug 2002 9:09 PM
    Updated: Mon, 30 Jun 2003 10:00 AM
Environment: Maven HEAD with maven-xdoc-plugin-1.0.jar in the plugins dir and maven-xdoc-plugin-1.1 deployed in the plugins dir

Description:
I installed a newer version of a plugin (the xdoc plugin, whose version was upgraded to 1.1).
I copied maven-xdoc-plugin-1.1 to the plugins directory.
I ran "maven site" and the site was generated using the new plugin, as expected.
Then I removed the maven-xdoc-plugin-1.0 dir.
I kept the plugin jar in the plugins dir (in case something happens, I can reinstall it easily, removing the new one and letting Maven redeploy the old one).

I then ran "maven site" another time and the old plugin was deployed, whereas the new one was installed.

We should find a way to check whether a new version of a plugin is installed, before installing it.

An easy solution would be to delete manually the old plugin dir & jar, of course, but it looks like a good place to store plugins...


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org