You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2009/05/08 16:49:44 UTC

[jira] Created: (MANTTASKS-148) Pom task cannot resolve custom packaging types

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

        

[jira] Commented: (MANTTASKS-148) Dependencies task cannot resolve custom packaging types

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MANTTASKS-148) Dependencies task cannot resolve custom packaging types

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MANTTASKS-148:
--------------------------------

    Description: 
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.

  was:
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 task however, maven is unable to resolve the dependency.

    Component/s: dependencies task
        Summary: Dependencies task cannot resolve custom packaging types  (was: Pom task cannot resolve custom packaging types)

> 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

        

[jira] Updated: (MANTTASKS-148) Pom task cannot resolve custom packaging types

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MANTTASKS-148:
--------------------------------

    Component/s: pom task

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