You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2007/05/28 01:55:59 UTC
[jira] Closed: (MANTTASKS-5) ant plugin cannot download uberjar
artifacts from a maven 1.x repository
[ http://jira.codehaus.org/browse/MANTTASKS-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MANTTASKS-5.
---------------------------------
Resolution: Fixed
Uberjars don't have a type handler
> ant plugin cannot download uberjar artifacts from a maven 1.x repository
> ------------------------------------------------------------------------
>
> Key: MANTTASKS-5
> URL: http://jira.codehaus.org/browse/MANTTASKS-5
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> 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