[ http://jira.codehaus.org/browse/MAVEN-1597?page=all ]
Brett Porter closed MAVEN-1597:
-------------------------------
Resolution: Won't Fix
maven -Dgoal=build:start multiproject:goal
in plugins/trunk will do this.
> Maven functionality to download all dependencies for all plugins once.
> ----------------------------------------------------------------------
>
> Key: MAVEN-1597
> URL: http://jira.codehaus.org/browse/MAVEN-1597
> Project: maven
> Type: Wish
> Components: plugin manager
> Versions: 1.0.2
> Reporter: Davy Toch
> Priority: Minor
>
>
> It would be nice to have a Maven command-line switch or a standard plugin
> goal that allows to download all dependencies of all unpacked plugins once.
> The following Jelly script should give you an idea of what I mean (used in a
> custom maven.xml in one of our Maven projects):
> <!-- A custom simple POM file containing only the mandatory
> fields. This file is necessary because almost
> all plugins inherit from a parent POM -->
> <property name="prj.file"
> value="conf/plugin-bootstrapper-parent-pom.xml"/>
> <!-- Some plugins inherit from the following parent POM -->
> <copy file="${prj.file}"
> tofile="${maven.home.local}/default-project.xml"/>
> <!-- Some plugins inherit from the following parent POM -->
> <copy file="${prj.file}"
> tofile="${maven.plugin.unpacked.dir}/default-project.xml"/>
> <!-- Some plugins inherit from the following parent POM -->
> <copy file="${prj.file}"
> tofile="${maven.plugin.unpacked.dir}/plugin-parent/project.xml"/>
> <!-- Apparently, the following action downloads all
> dependencies for all unpacked plugins
> It is important to put */project.xml (and not **/project.xml)
> as value for the attribute includes, because e.g. the genapp
> plugin directory has several project.xml files.
> -->
> <m:reactor basedir="${maven.plugin.unpacked.dir}" includes="*/project.xml"
> goals="clean" banner="Initializing plugin ... " ignoreFailures="false"/>
> Additional wish : it would be convenient if all Maven plugins inherit from
> the same parent POM (or not at all), in order to simplify the above script.
> Regards,
> Davy Toch
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]