You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/08 18:32:11 UTC

[jira] Created: (MNG-1142) restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1

restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1
-------------------------------------------------------------------------------------

         Key: MNG-1142
         URL: http://jira.codehaus.org/browse/MNG-1142
     Project: Maven 2
        Type: Bug
  Components: maven-artifact  
 Reporter: Brett Porter
    Priority: Minor
     Fix For: 2.0.1


got this by adding ant [1.6,) to it0034, and ant [1.5,1.6.2) to one of its deps (deeper).

I think this is caused by the fact that versions are resolved too early instead of retaining the restriction, but it needs a further look.

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


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


[jira] Updated: (MNG-1142) restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1

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

John Casey updated MNG-1142:
----------------------------

    Fix Version:     (was: 2.0.1)
                 2.0.2

> restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1
> -------------------------------------------------------------------------------------
>
>          Key: MNG-1142
>          URL: http://jira.codehaus.org/browse/MNG-1142
>      Project: Maven 2
>         Type: Bug
>   Components: Artifacts and Repositories
>     Reporter: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.2

>
>
> got this by adding ant [1.6,) to it0034, and ant [1.5,1.6.2) to one of its deps (deeper).
> I think this is caused by the fact that versions are resolved too early instead of retaining the restriction, but it needs a further look.

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


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


[jira] Updated: (MNG-1142) restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1

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

John Casey updated MNG-1142:
----------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1
> -------------------------------------------------------------------------------------
>
>          Key: MNG-1142
>          URL: http://jira.codehaus.org/browse/MNG-1142
>      Project: Maven 2
>         Type: Bug

>   Components: Artifacts and Repositories
>     Reporter: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.4

>
>
> got this by adding ant [1.6,) to it0034, and ant [1.5,1.6.2) to one of its deps (deeper).
> I think this is caused by the fact that versions are resolved too early instead of retaining the restriction, but it needs a further look.

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


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


[jira] Commented: (MNG-1142) restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1142?page=comments#action_48649 ] 

Brett Porter commented on MNG-1142:
-----------------------------------

from MNG-1208

 Found while searching for MNG-1207

a call to VersionRange.getSelectedVersion() will return the upper bound even if the upper bound is exclusive. (and isSelectedVersionKnown would return false). This method should throw an exception if the selectedVersion is not known.

            else
            {
                Restriction restriction = (Restriction) restrictions.get( restrictions.size() - 1 );

                version = restriction.getUpperBound();
                if ( version == null )
                {
                    version = RELEASE;
                }
            }


> restriction of [1.6,) and [1.5,1.6.2) in that order results in 1.6.2 instead of 1.6.1
> -------------------------------------------------------------------------------------
>
>          Key: MNG-1142
>          URL: http://jira.codehaus.org/browse/MNG-1142
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Reporter: Brett Porter
>     Priority: Minor
>      Fix For: 2.0.1

>
>
> got this by adding ant [1.6,) to it0034, and ant [1.5,1.6.2) to one of its deps (deeper).
> I think this is caused by the fact that versions are resolved too early instead of retaining the restriction, but it needs a further look.

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


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