From 770df1e3a04e1aadf6e3636b1b2a67f484c461cb Mon Sep 17 00:00:00 2001 From: aheritier Date: Tue, 28 Nov 2006 00:14:31 +0000 Subject: [PATCH] New goals eclipse:multiproject and eclipse:multiclean git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@479820 13f79535-47bb-0310-9956-ffa450edef68 --- eclipse/plugin.jelly | 39 +++++++++++++++++++++++++ eclipse/plugin.properties | 10 ++++++- eclipse/project.xml | 10 +++++++ eclipse/xdocs/changes.xml | 2 ++ eclipse/xdocs/goals.xml | 21 +++++++++++++- eclipse/xdocs/properties.xml | 55 ++++++++++++++++++++++++++++++++++++ 6 files changed, 135 insertions(+), 2 deletions(-) diff --git a/eclipse/plugin.jelly b/eclipse/plugin.jelly index 23344cfc..79a22493 100644 --- a/eclipse/plugin.jelly +++ b/eclipse/plugin.jelly @@ -315,4 +315,43 @@ Cleaned up eclipse generated files + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse/plugin.properties b/eclipse/plugin.properties index 50adce8f..e1ff086d 100644 --- a/eclipse/plugin.properties +++ b/eclipse/plugin.properties @@ -30,4 +30,12 @@ maven.eclipse.src.extension = zip maven.eclipse.src.download = true maven.eclipse.javadoc.download = true maven.eclipse.resources.addtoclasspath=false -maven.eclipse.servletapilist=javax.servlet:servlet-api,servletapi:servletapi,geronimo-spec:geronimo-spec-servlet \ No newline at end of file +maven.eclipse.servletapilist=javax.servlet:servlet-api,servletapi:servletapi,geronimo-spec:geronimo-spec-servlet + +# Location of subprojects to include in the multichanges report. By default +# these properties have the same values as their multiproject conterpart. +# You can define them if you need to set different values. +#maven.eclipse.multiproject.basedir= +#maven.eclipse.multiproject.includes= +#maven.eclipse.multiproject.excludes= +#maven.eclipse.multiproject.ignoreFailures= diff --git a/eclipse/project.xml b/eclipse/project.xml index 8ae327e6..a9189a08 100644 --- a/eclipse/project.xml +++ b/eclipse/project.xml @@ -122,6 +122,16 @@ +1 + + Arnaud Heritier + aheritier + aheritier@apache.org + ASF + + Developer + + +1 + diff --git a/eclipse/xdocs/changes.xml b/eclipse/xdocs/changes.xml index d00eacac..26d2f934 100644 --- a/eclipse/xdocs/changes.xml +++ b/eclipse/xdocs/changes.xml @@ -24,6 +24,8 @@ + New goal eclipse:multiclean + New goal eclipse:multiproject Upgrade maven-model to version 3.0.2 Updated FAQ with multiproject entries. Fixed broken test cases. diff --git a/eclipse/xdocs/goals.xml b/eclipse/xdocs/goals.xml index 1904866d..8b463777 100644 --- a/eclipse/xdocs/goals.xml +++ b/eclipse/xdocs/goals.xml @@ -125,7 +125,7 @@ ${your eclipse workspace}/.metadata/.plugins/org.eclipse.debug.core/.launches/ - eclipse:add-maven-repo + eclipse:add-maven-repo Ensures that the classpath variable MAVEN_REPO exists in the Eclipse environment. @@ -135,6 +135,25 @@ ${your eclipse workspace}/.metadata/.plugins/org.eclipse.debug.core/.launches/ Eclipse must not be running. + + + eclipse:multiproject + + Launch the eclipse goal in a multiproject environment. +
+ The properties
${maven.eclipse.multiproject.basedir}, ${maven.eclipse.multiproject.ignoreFailures}, ${maven.eclipse.multiproject.includes}, ${maven.eclipse.multiproject.excludes} are used to customize the behaviour of this goal. + + + + + eclipse:multiclean + + Launch the eclipse:clean goal in a multiproject environment. +
+ The properties ${maven.eclipse.multiproject.basedir}, ${maven.eclipse.multiproject.ignoreFailures}, ${maven.eclipse.multiproject.includes}, ${maven.eclipse.multiproject.excludes} are used to customize the behaviour of this goal. +
+
+ diff --git a/eclipse/xdocs/properties.xml b/eclipse/xdocs/properties.xml index b38b500c..5e18384c 100644 --- a/eclipse/xdocs/properties.xml +++ b/eclipse/xdocs/properties.xml @@ -159,6 +159,61 @@ remote repositories, when no source archive is available. Defaults to true. + + + maven.eclipse.multiproject.basedir + Yes + +

+ This is the base directory that the plugin will use when searching for + projects to be processed. It is also the 'current directory' for relative paths +

+

+ Default value is ${maven.multiproject.basedir}. +

+ + + + maven.eclipse.multiproject.ignoreFailures + Yes + +

+ Set this to true to allow the plugin to continue + when any project fails during processing. +

+

+ Default value is ${maven.multiproject.ignoreFailures}. +

+ + + + maven.eclipse.multiproject.includes + Yes + +

+ This is the list of file specifications to be included when searching for + projects to be processed by the plugin. +

+ + The 'top-level' project that you use to run maven eclipse:multiproject + must not be included in the set of projects to be processed. + +

+ Default value is ${maven.multiproject.includes}. +

+ + + + maven.eclipse.multiproject.excludes + Yes + +

+ This is the list of file specifications to be excluded when searching for + projects to be processed by the plugin +

+

Default value is ${maven.multiproject.excludes}.

+ +

Note that you will need to defined a MAVEN_REPO Java