[ http://jira.codehaus.org/browse/MNG-1820?page=all ]

Kenney Westerhof updated MNG-1820:
----------------------------------

    Fix Version/s:     (was: 2.0.5)
                   2.0.6

> 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
>          Issue Type: Bug
>          Components: Ant tasks
>    Affects Versions: 2.0
>            Reporter: Tim Clemons
>             Fix For: 2.0.6
>
>
> 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

        

Reply via email to