[ 
http://jira.codehaus.org/browse/MANTTASKS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175999#action_175999
 ] 

Paul Gier commented on MANTTASKS-148:
-------------------------------------

The workaround for this seems to be to just specify a type that matches the 
file extension.  So the custom extension can be resolved by the dependencies 
task, but the task is not able to create type to extension mappings from the 
build extensions listed in the pom.

> Dependencies task cannot resolve custom packaging types
> -------------------------------------------------------
>
>                 Key: MANTTASKS-148
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-148
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task, pom task
>            Reporter: Paul Gier
>
> If a pom has dependencies with custom packaging types defined in a pluging 
> extension, the pom task is not able to resolve these dependencies.
> For example a pom with dependencies on artifacts using the 
> [jboss-sar|http://mojo.codehaus.org/jboss-packaging-maven-plugin/] type will 
> work fine when used directly from maven as long as the correct plugin 
> extension is defined.
> When loading this pom using the ant pom and depenencies task however, maven 
> is unable to resolve the dependency.

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