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

Add feature to dependencies task to write file paths to a file.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • dependencies task
    • None

    Description

      The dependencies task can be somewhat time consuming for a large project. It would be good if there was a way to write the properties and filesets out to a file. Then that file could be imported by the ant build.

      This might also be used for caching the list of dependencies. For example, the dependencies task could write out this file the first run. On subsequent runs, if the build.xml file and/or the pom.xml files used for dependencies have not changed, then the filesets could just be loaded from the file.

      The file could be called something like target/dependencies.xml and look like the following:

      <project name="autogenerated-dependencies-list" default="load-dependencies">
        <property name="org.codehaus.plexus:plexus-utils:jar" value="/home/me/.m2/repository/org/codehaus/plexus/1.5/plexus-utils.jar"/>
        <fileset id="org.codehaus.plexus:plexus-utils:jar" file="/home/me/.m2/repository/org/codehaus/plexus/1.5/plexus-utils.jar"/>
        <fileset id="compile-dependencies">
          <fileset file="${org.codehaus.plexus:plexus-utils:jar}"/>
        </fileset>
      </project>
      

      Attachments

        Issue Links

          Activity

            People

              pgier Paul Gier
              pgier Paul Gier
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: