> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 1:07 AM
> To: [EMAIL PROTECTED]
> Subject: [jira] Created: (MAVEN-783) clarify plugin version loading
> 
> Message:
> 
>   A new issue has been created in JIRA.
> 
> ---------------------------------------------------------------------
> 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: Assigned
>    Priority: Major
> 
>  Time Spent: Unknown
>   Remaining: Unknown
> 
>     Project: maven
>    Fix Fors:
>              1.0-final
> 
>    Assignee: Brett Porter
>    Reporter: Brett Porter
> 
>     Created: Thu, 4 Sep 2003 6:06 PM
>     Updated: Thu, 4 Sep 2003 6:06 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)

I agree that for 1.0 and probably only for 1.0 this is a right
assumption. 

> 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

AD 2 & 3 

We can easily use information which we have in POM:

<versions>
    <version>
      <id>b1</id>
      <name>1.0-b1</name>
      <tag>MAVEN_1_0_B1</tag>
    </version>
    <version>
      <id>b2</id>
      <name>1.0-b2</name>
      <tag>MAVEN_1_0_B2</tag>
    </version>
    <version>
      <id>b3</id>
      <name>1.0-b3</name>
      <tag>MAVEN_1_0_B3</tag>
    </version>
    <version>
      <id>b4</id>
      <name>1.0-b4</name>
      <tag>MAVEN_1_0_B4</tag>
    </version>
  <versions>

verion 1.0-b3 is "below" 1.0-b2 so it is higher version.

[..]

Michal





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to