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