Maven Ant Tasks
  1. Maven Ant Tasks
  2. MANTTASKS-33

Pass Ant properties for resolved dependency JARs

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8
    • Component/s: dependencies task
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Currently the dependencies tasks gives a path and a fileset, but in some cases the Ant file may want to know the resolved dependencies by name. This simple patch sets an ant property based of the artifact identifier that references the JAR file that got resolved.

      Additionally, it modifies the DeployTask so that if no file is passed in to deploy, it will search for an ant property that references the JAR. This is useful in wrapping an existing Ant file to deploy a JAR

        Activity

        Hide
        Herve Boutemy added a comment -

        For each dependency resolved, the property groupId:artifactId:type[:classifier] is defined pointing to the corresponding file.

        Show
        Herve Boutemy added a comment - For each dependency resolved, the property groupId:artifactId:type [:classifier] is defined pointing to the corresponding file.

          People

          • Assignee:
            Herve Boutemy
            Reporter:
            Garrett Conaty
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: