You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@codehaus.org> on 2011/01/20 14:21:57 UTC

[jira] Created: (MANTTASKS-210) When creating path objects using the dependencies task it is not possible to filter out artifacts by type.

When creating path objects using the dependencies task it is not possible to filter out artifacts by type.
----------------------------------------------------------------------------------------------------------

                 Key: MANTTASKS-210
                 URL: http://jira.codehaus.org/browse/MANTTASKS-210
             Project: Maven 2.x Ant Tasks
          Issue Type: Improvement
          Components: dependencies task
    Affects Versions: 2.1.1
            Reporter: Stephen Connolly
            Priority: Minor


If you reference an object of type pom and pull its dependencies into a path object, the resulting path will contain the pom files which java then presumes to be malformed zip files.

If you use type="jar" then it will not resolve the dependencies of the pom artifact at all, so you need to have type="jar,pom" to get the dependencies of the packaging pom artifact.

What is needed is a separate pathType attribute to allow retrieving the full set of dependencies into the fileset, while selecting a subset for the path object.

-- 
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] Closed: (MANTTASKS-210) When creating path objects using the dependencies task it is not possible to filter out artifacts by type.

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

Stephen Connolly closed MANTTASKS-210.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2

r1061291.

> When creating path objects using the dependencies task it is not possible to filter out artifacts by type.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-210
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-210
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Improvement
>          Components: dependencies task
>    Affects Versions: 2.1.1
>            Reporter: Stephen Connolly
>            Priority: Minor
>             Fix For: 2.1.2
>
>
> If you reference an object of type pom and pull its dependencies into a path object, the resulting path will contain the pom files which java then presumes to be malformed zip files.
> If you use type="jar" then it will not resolve the dependencies of the pom artifact at all, so you need to have type="jar,pom" to get the dependencies of the packaging pom artifact.
> What is needed is a separate pathType attribute to allow retrieving the full set of dependencies into the fileset, while selecting a subset for the path object.

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