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/12/03 03:05:56 UTC

[jira] Updated: (MAVEN-783) clarify plugin version loading

The following issue has been updated:

    Updater: Jason van Zyl (mailto:jason@zenplex.com)
       Date: Tue, 2 Dec 2003 8:04 PM
    Changes:
             environment changed to 
             Component changed to plugin manager
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-783&page=history

---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-783
    Summary: clarify plugin version loading
       Type: Task

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin manager
   Fix Fors:
             1.0-final

   Assignee: Brett Porter
   Reporter: Brett Porter

    Created: Thu, 4 Sep 2003 6:06 PM
    Updated: Tue, 2 Dec 2003 8:04 PM

Description:
verify that:

1) there should only be one plugin of a type loaded at a time (easy to change by having the manager use the artifactId as the name - removing the version)
2) if 1.2 and 1.2-SNAPSHOT are present, use 1.2 (difficult, because we have no concept of version X > version Y since you can use any type of string)
3) if 1.2 and 1.3 are present, use 1.3
4) if a plugin dependency element is present, use that version.

also clarify:
 plugin downloaded via dependency or goal to shared $MAVEN_HOME/plugins will:
1) have correct permissions, 
2) will subsequently be extracted by other users
3) will correctly update the plugin cache

also document:
- that plugins that hook into goals without any property based control are bad form (eg programmatically removing linkcheck from the list of registered reports)
- check maven doesn't include any such plugins

the reason for the above is that one project might depend on a plugin that does that, and could consequently break others. The alternative is a far more complicated set of checks about which plugins should be applied to which projects (possibly levels of install to maven, install to user and install to project via dependency only), but that should be tried at a later date.





---------------------------------------------------------------------
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/secure/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