From 389b10abe9c875e4095648f728ffbe7bee669396 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 22 Nov 2005 23:10:35 +0000 Subject: [PATCH] PR: MPMULTIPROJECT-58 Submitted by: Lucas Persson Possibility to re-execute multiproject:projects-init git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@348283 13f79535-47bb-0310-9956-ffa450edef68 --- multiproject/plugin.jelly | 2 +- multiproject/xdocs/changes.xml | 1 + multiproject/xdocs/faq.fml | 15 +++++++++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/multiproject/plugin.jelly b/multiproject/plugin.jelly index 86a921a2..7d3e1c83 100644 --- a/multiproject/plugin.jelly +++ b/multiproject/plugin.jelly @@ -48,7 +48,7 @@ - + Gathering project list + Possibility to re-execute multiproject:projects-init. multiproject:clean doesn't remove top target directory. Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
    diff --git a/multiproject/xdocs/faq.fml b/multiproject/xdocs/faq.fml index 8d2247d7..4cb16923 100644 --- a/multiproject/xdocs/faq.fml +++ b/multiproject/xdocs/faq.fml @@ -23,16 +23,19 @@ My custom navigation uses reactorProjects, and when I upgraded it broke. Why? +

    reactorProjects is reused by anything using the reactor. Since there is no concept of scope or nesting, the variable multiprojects is now used instead. If you change your variable references, this should start working again. +

    When using multiproject to build subprojects, resources are not included in my artifacts. Why? - Use ${basedir} in your subproject's POM resource section:

    + Use ${basedir} in your subproject's POM resource section: +

    @@ -42,11 +45,19 @@ ]]> -

    The resources won't be included if you just specify "src/java" as directory unless maven is started from within the subproject directory.

    + + How can I call a multiproject goal twice with different settings for the maven.multiproject.includes property? + +

    + You need to set back the variable mpprojectsInit before you call the goal a second time: +

    + ]]> +
    +