You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wayne Fay (JIRA)" <ji...@codehaus.org> on 2006/04/07 08:04:48 UTC

[jira] Created: (MNG-2210) Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)

Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)
-----------------------------------------------------------------------------

         Key: MNG-2210
         URL: http://jira.codehaus.org/browse/MNG-2210
     Project: Maven 2
        Type: Bug

  Components: Dependencies  
    Versions: 2.0.3    
 Environment: Win32
    Reporter: Wayne Fay


Added the following dependencies to a new project pom.xml file:
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>[3.8.1,)</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>[1.2.13,)</version>
    </dependency>
    <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>[1.8.0.1,)</version>
    </dependency>
  </dependencies>

This results in:
[INFO] artifact log4j:log4j: checking for updates from central
[DEBUG]   log4j:log4j:jar:1.2.13:compile (setting version to: 1.2.13 from range: [1.2.13,))
[DEBUG]   log4j:log4j:jar:1.2.13:compile (selected for compile)
[INFO] artifact junit:junit: checking for updates from central
[DEBUG]   junit:junit:jar:4.0:test (setting version to: 4.0 from range: [3.8.1,))
[DEBUG]   junit:junit:jar:4.0:test (selected for test)
[INFO] artifact hsqldb:hsqldb: checking for updates from central
[DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (setting version to: 1.7.2-rc1 from range: [1.8.0.1,))
[DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (selected for compile)

Same results with hsqldb version specified as [1.8,) or [1.8.0,) or [1.8.0.0,)

Here's more tests:
<version>1.8.0.1</version>
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)

<version>[1.8.0.1]</version>
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (setting version to: 1.8.0.1 from range: [1.8.0.1,1.8.0.1])
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)

Not sure why 1.7.2-rc1 is being selected!

You can see all the versions available on Central: http://www.ibiblio.org/maven2/hsqldb/hsqldb/

-- 
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-2210) Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)

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

Benjamin Bentmann closed MNG-2210.
----------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: Issues to be reviewed for 3.x)
         Assignee: Benjamin Bentmann

> Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)
> -----------------------------------------------------------------------------
>
>                 Key: MNG-2210
>                 URL: http://jira.codehaus.org/browse/MNG-2210
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.3
>         Environment: Win32
>            Reporter: Wayne Fay
>            Assignee: Benjamin Bentmann
>
> Added the following dependencies to a new project pom.xml file:
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>[3.8.1,)</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>log4j</groupId>
>       <artifactId>log4j</artifactId>
>       <version>[1.2.13,)</version>
>     </dependency>
>     <dependency>
>       <groupId>hsqldb</groupId>
>       <artifactId>hsqldb</artifactId>
>       <version>[1.8.0.1,)</version>
>     </dependency>
>   </dependencies>
> This results in:
> [INFO] artifact log4j:log4j: checking for updates from central
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (setting version to: 1.2.13 from range: [1.2.13,))
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (selected for compile)
> [INFO] artifact junit:junit: checking for updates from central
> [DEBUG]   junit:junit:jar:4.0:test (setting version to: 4.0 from range: [3.8.1,))
> [DEBUG]   junit:junit:jar:4.0:test (selected for test)
> [INFO] artifact hsqldb:hsqldb: checking for updates from central
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (setting version to: 1.7.2-rc1 from range: [1.8.0.1,))
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (selected for compile)
> Same results with hsqldb version specified as [1.8,) or [1.8.0,) or [1.8.0.0,)
> Here's more tests:
> <version>1.8.0.1</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> <version>[1.8.0.1]</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (setting version to: 1.8.0.1 from range: [1.8.0.1,1.8.0.1])
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> Not sure why 1.7.2-rc1 is being selected!
> You can see all the versions available on Central: http://www.ibiblio.org/maven2/hsqldb/hsqldb/

-- 
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-2210) Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)

Posted by "Jonas Olsson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2210?page=comments#action_78914 ] 
            
Jonas Olsson commented on MNG-2210:
-----------------------------------

Isn't this caused by Mavens inability to handle more than three version digits?

> Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)
> -----------------------------------------------------------------------------
>
>                 Key: MNG-2210
>                 URL: http://jira.codehaus.org/browse/MNG-2210
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.3
>         Environment: Win32
>            Reporter: Wayne Fay
>             Fix For: 2.1
>
>
> Added the following dependencies to a new project pom.xml file:
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>[3.8.1,)</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>log4j</groupId>
>       <artifactId>log4j</artifactId>
>       <version>[1.2.13,)</version>
>     </dependency>
>     <dependency>
>       <groupId>hsqldb</groupId>
>       <artifactId>hsqldb</artifactId>
>       <version>[1.8.0.1,)</version>
>     </dependency>
>   </dependencies>
> This results in:
> [INFO] artifact log4j:log4j: checking for updates from central
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (setting version to: 1.2.13 from range: [1.2.13,))
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (selected for compile)
> [INFO] artifact junit:junit: checking for updates from central
> [DEBUG]   junit:junit:jar:4.0:test (setting version to: 4.0 from range: [3.8.1,))
> [DEBUG]   junit:junit:jar:4.0:test (selected for test)
> [INFO] artifact hsqldb:hsqldb: checking for updates from central
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (setting version to: 1.7.2-rc1 from range: [1.8.0.1,))
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (selected for compile)
> Same results with hsqldb version specified as [1.8,) or [1.8.0,) or [1.8.0.0,)
> Here's more tests:
> <version>1.8.0.1</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> <version>[1.8.0.1]</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (setting version to: 1.8.0.1 from range: [1.8.0.1,1.8.0.1])
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> Not sure why 1.7.2-rc1 is being selected!
> You can see all the versions available on Central: http://www.ibiblio.org/maven2/hsqldb/hsqldb/

-- 
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-2210) Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)

Posted by "Wayne Fay (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2210?page=comments#action_63042 ] 

Wayne Fay commented on MNG-2210:
--------------------------------

Meant to include a link to the Dependency Version Ranges document:
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

> Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)
> -----------------------------------------------------------------------------
>
>          Key: MNG-2210
>          URL: http://jira.codehaus.org/browse/MNG-2210
>      Project: Maven 2
>         Type: Bug

>   Components: Dependencies
>     Versions: 2.0.3
>  Environment: Win32
>     Reporter: Wayne Fay

>
>
> Added the following dependencies to a new project pom.xml file:
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>[3.8.1,)</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>log4j</groupId>
>       <artifactId>log4j</artifactId>
>       <version>[1.2.13,)</version>
>     </dependency>
>     <dependency>
>       <groupId>hsqldb</groupId>
>       <artifactId>hsqldb</artifactId>
>       <version>[1.8.0.1,)</version>
>     </dependency>
>   </dependencies>
> This results in:
> [INFO] artifact log4j:log4j: checking for updates from central
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (setting version to: 1.2.13 from range: [1.2.13,))
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (selected for compile)
> [INFO] artifact junit:junit: checking for updates from central
> [DEBUG]   junit:junit:jar:4.0:test (setting version to: 4.0 from range: [3.8.1,))
> [DEBUG]   junit:junit:jar:4.0:test (selected for test)
> [INFO] artifact hsqldb:hsqldb: checking for updates from central
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (setting version to: 1.7.2-rc1 from range: [1.8.0.1,))
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (selected for compile)
> Same results with hsqldb version specified as [1.8,) or [1.8.0,) or [1.8.0.0,)
> Here's more tests:
> <version>1.8.0.1</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> <version>[1.8.0.1]</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (setting version to: 1.8.0.1 from range: [1.8.0.1,1.8.0.1])
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> Not sure why 1.7.2-rc1 is being selected!
> You can see all the versions available on Central: http://www.ibiblio.org/maven2/hsqldb/hsqldb/

-- 
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-2210) Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2210?page=all ]

John Casey updated MNG-2210:
----------------------------

    Fix Version: 2.1

> Dependency version range picks version 1.7.2-rc1 when specified as [1.8.0.1,)
> -----------------------------------------------------------------------------
>
>          Key: MNG-2210
>          URL: http://jira.codehaus.org/browse/MNG-2210
>      Project: Maven 2
>         Type: Bug

>   Components: Dependencies
>     Versions: 2.0.3
>  Environment: Win32
>     Reporter: Wayne Fay
>      Fix For: 2.1

>
>
> Added the following dependencies to a new project pom.xml file:
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>[3.8.1,)</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>log4j</groupId>
>       <artifactId>log4j</artifactId>
>       <version>[1.2.13,)</version>
>     </dependency>
>     <dependency>
>       <groupId>hsqldb</groupId>
>       <artifactId>hsqldb</artifactId>
>       <version>[1.8.0.1,)</version>
>     </dependency>
>   </dependencies>
> This results in:
> [INFO] artifact log4j:log4j: checking for updates from central
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (setting version to: 1.2.13 from range: [1.2.13,))
> [DEBUG]   log4j:log4j:jar:1.2.13:compile (selected for compile)
> [INFO] artifact junit:junit: checking for updates from central
> [DEBUG]   junit:junit:jar:4.0:test (setting version to: 4.0 from range: [3.8.1,))
> [DEBUG]   junit:junit:jar:4.0:test (selected for test)
> [INFO] artifact hsqldb:hsqldb: checking for updates from central
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (setting version to: 1.7.2-rc1 from range: [1.8.0.1,))
> [DEBUG]   hsqldb:hsqldb:jar:1.7.2-rc1:compile (selected for compile)
> Same results with hsqldb version specified as [1.8,) or [1.8.0,) or [1.8.0.0,)
> Here's more tests:
> <version>1.8.0.1</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> <version>[1.8.0.1]</version>
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (setting version to: 1.8.0.1 from range: [1.8.0.1,1.8.0.1])
> [DEBUG]   hsqldb:hsqldb:jar:1.8.0.1:compile (selected for compile)
> Not sure why 1.7.2-rc1 is being selected!
> You can see all the versions available on Central: http://www.ibiblio.org/maven2/hsqldb/hsqldb/

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