Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1340

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1340
    Summary: Dependency version flexibility
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             model
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Andy Jefferson

    Created: Sat, 26 Jun 2004 4:12 AM
    Updated: Sat, 26 Jun 2004 4:12 AM
Environment: 1.0-rc3

Description:
I searched and couldn't find any mention of this as such. Please delete if already 
registered.

In a dependency I currently specify the version XML tag. The version has to be an 
actual version, or SNAPSHOT. How about allowing users to specify "min 'version'". So 
for example, in my system I require the user having log4j at least 1.2.0. So I would 
really like to say

<version>min 1.2.0</version>

and then if it finds 1.2.3 on their system it accepts that. Currently I have to 
specify a specific version, which can force them to download it. This would allow much 
more flexibility. Clearly you would have to make some assumptions on the naming scheme 
for version, but there are established conventions for that that the majority of 
projects adopt. Alternatives to the "min 'version'" could be to specify a comma 
separated version list 

<version>1.2.0, 1.2.1, 1.2.7</version>

this second one may be easier to implement since its just a matter of checking against 
the list of options.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to