ant plugin cannot download uberjar artifacts from a maven 1.x repository
------------------------------------------------------------------------

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

  Components: Ant tasks  
    Versions: 2.0    
    Reporter: Tim Clemons


On listing an uberjar artifact as a depedency, the ant task attempts to grab 
the artifact with a suffix of 'uberjar'.  However, uberjars have the artifact 
suffix of 'jar'.

So a depency like the following:

<dependency groupId="foo" artifactId="bar" version="1.0-SNAPSHOT" 
type="uberjar"/>

Attempts the following:

[artifact:dependencies] Downloading: foo/uberjars/bar-1.0-SNAPSHOT.uberjar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote 
(http://foobar.com:8080/repository)
[artifact:dependencies] An error has occurred while processing the Maven 
artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Dependency not found: Unable to download the artifact 
from any repository
[artifact:dependencies]   foo:bar:1.0-SNAPSHOT:uberjar


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

Reply via email to