Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-210

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 2.1.2
    • dependencies task
    • None

    Description

      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.

      Attachments

        Activity

          People

            stephenconnolly stephenconnolly
            stephenc Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: