You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2007/12/22 15:20:57 UTC

[jira] Created: (MNG-3333) range specified dependencies don't work

range specified dependencies don't work
---------------------------------------

                 Key: MNG-3333
                 URL: http://jira.codehaus.org/browse/MNG-3333
             Project: Maven 2
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 2.1
            Reporter: Milos Kleint
            Priority: Blocker
         Attachments: ranges.zip

current 2.1-SNAPSHOT

When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
Example project attached.

-- 
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-3333) range specified dependencies don't work

Posted by "Milos Kleint (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117708 ] 

Milos Kleint commented on MNG-3333:
-----------------------------------

when was it fixed? the current computer is rather new, I got it a month ago, the local repository is completely new, so I'm wondering how come the metadata didn't get downloaded.

> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Priority: Blocker
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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] Issue Comment Edited: (MNG-3333) range specified dependencies don't work

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139237#action_139237 ] 

brettporter edited comment on MNG-3333 at 6/22/08 1:52 AM:
------------------------------------------------------------

looks like this was an issue with the metadata, and though I agree the hard dependency using the metadata is a bit weird, I think it's best we look to how artifact evolves

      was (Author: brettporter):
    looks like this was an issue with the metadata
  
> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Assignee: Brett Porter
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

Posted by "Milos Kleint (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117684 ] 

Milos Kleint commented on MNG-3333:
-----------------------------------

my local repository didn't include maven-metadata.xml files even though ti contained multiple versions of commons-logging. after deleting the whole directory in the local repository and downloading the bits from central, the metadate file appeared and the project stated building..


> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Priority: Blocker
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117712 ] 

Dennis Lundberg commented on MNG-3333:
--------------------------------------

It was fixed on November 28.

> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Priority: Blocker
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

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

Brett Porter updated MNG-3333:
------------------------------

    Fix Version/s: 2.1-alpha-1

> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>             Fix For: 2.1-alpha-1
>
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

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

Brett Porter closed MNG-3333.
-----------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.1-alpha-1)

looks like this was an issue with the metadata

> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Assignee: Brett Porter
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117694 ] 

Dennis Lundberg commented on MNG-3333:
--------------------------------------

The metadata for commons-logging was incomplete. Several versions were missing. This is probably due to artifacts being converted from the Apache M1 repository. I fixed the metadata in the Apache M2 repo a while back. But Maven doesn't re-download files to the local repo, so you have to nuke that part of your local repo to get it working.

> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>            Priority: Blocker
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

-- 
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-3333) range specified dependencies don't work

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

Milos Kleint updated MNG-3333:
------------------------------

    Priority: Major  (was: Blocker)

ok, that could be well after I got the new laptop. 

Downgrading priority, it still seems odd that a soft requirement 1.0.4 will not need to consult the versions metadata, while a hard requirement on [1.0.4] requires it. I guess the hard dependency on 1 single version shall be handled differently than regular version ranges.


> range specified dependencies don't work
> ---------------------------------------
>
>                 Key: MNG-3333
>                 URL: http://jira.codehaus.org/browse/MNG-3333
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1
>            Reporter: Milos Kleint
>         Attachments: ranges.zip
>
>
> current 2.1-SNAPSHOT
> When a dependency is specified with version [1.0.4] the build of project fails, so does project loading in the IDE.
> Example project attached.

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