Rename from reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
multiproject/.cvsignore
Normal file
2
multiproject/.cvsignore
Normal file
@@ -0,0 +1,2 @@
|
||||
target
|
||||
*.log
|
||||
45
multiproject/plugin.jelly
Normal file
45
multiproject/plugin.jelly
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:ant="jelly:ant">
|
||||
|
||||
<goal name="multiproject"
|
||||
description="Run the site goal of all subprojects"
|
||||
prereqs="multiproject:site">
|
||||
</goal>
|
||||
|
||||
<goal name="multiproject:site"
|
||||
description="Run the site goal of all subprojects">
|
||||
|
||||
<maven:reactor
|
||||
basedir="${maven.multiproject.basedir}"
|
||||
includes="${maven.multiproject.includes}"
|
||||
excludes="${maven.multiproject.excludes}"
|
||||
postProcessing="false"
|
||||
goals="clean,site"
|
||||
ignoreFailures="${maven.multiproject.ignoreFailures}"
|
||||
/>
|
||||
|
||||
</goal>
|
||||
|
||||
<goal name="multiproject:goal" description="Run a given goal on all projects">
|
||||
<!-- FIXME: This should be a tag somewhere else as it's common to do tag param checking -->
|
||||
<j:if test="${empty(goal)}">
|
||||
<ant:fail>A goal to run must be specified, e.g.
|
||||
maven -Dgoal=clean multiproject:goal
|
||||
</ant:fail>
|
||||
</j:if>
|
||||
<ant:echo>Executing ${goal} on all projects</ant:echo>
|
||||
<maven:reactor
|
||||
basedir="${maven.multiproject.basedir}"
|
||||
includes="${maven.multiproject.includes}"
|
||||
excludes="${maven.multiproject.excludes}"
|
||||
postProcessing="false"
|
||||
goals="${goal}"
|
||||
ignoreFailures="${maven.multiproject.ignoreFailures}"
|
||||
/>
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
9
multiproject/plugin.properties
Normal file
9
multiproject/plugin.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
# -------------------------------------------------------------------
|
||||
# P L U G I N P R O P E R I E S
|
||||
# -------------------------------------------------------------------
|
||||
# MultiProject plugin.
|
||||
# -------------------------------------------------------------------
|
||||
maven.multiproject.basedir=${basedir}
|
||||
maven.multiproject.includes=*/project.xml
|
||||
maven.multiproject.excludes=
|
||||
maven.multiproject.ignoreFailures=false
|
||||
7
multiproject/project.properties
Normal file
7
multiproject/project.properties
Normal file
@@ -0,0 +1,7 @@
|
||||
# -------------------------------------------------------------------
|
||||
# P R O J E C T P R O P E R T I E S
|
||||
# -------------------------------------------------------------------
|
||||
maven.xdoc.date=left
|
||||
maven.xdoc.version=${pom.currentVersion}
|
||||
maven.license.licenseFile=${basedir}/../../../LICENSE.txt
|
||||
|
||||
27
multiproject/project.xml
Normal file
27
multiproject/project.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project>
|
||||
<extend>${basedir}/../project.xml</extend>
|
||||
<id>maven-multiproject-plugin</id>
|
||||
<name>Maven Multi-Project Plug-in</name>
|
||||
<currentVersion>1.0-SNAPSHOT</currentVersion>
|
||||
<description>A plugin to handle the building of multiple projects within maven</description>
|
||||
<shortDescription>Multi-Project Plugin for Maven</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/multiproject/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/multiproject/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/multiproject/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/multiproject/</url>
|
||||
</repository>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>dIon Gillard</name>
|
||||
<id>dion</id>
|
||||
<email>dion@multitask.com.au</email>
|
||||
<organization>Multitask Consulting</organization>
|
||||
<roles>
|
||||
<role>Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
</project>
|
||||
1
multiproject/xdocs/.cvsignore
Normal file
1
multiproject/xdocs/.cvsignore
Normal file
@@ -0,0 +1 @@
|
||||
stylesheets
|
||||
19
multiproject/xdocs/changes.xml
Normal file
19
multiproject/xdocs/changes.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<release version="1.0" date="in CVS">
|
||||
<action dev="dion" type="update">
|
||||
Rename plugin from reactor to multiproject to reduce confusion
|
||||
</action>
|
||||
<action dev="dion" type="add">
|
||||
Initial creation during 1.0-beta 10 dev phase
|
||||
</action>
|
||||
</release>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
34
multiproject/xdocs/goals.xml
Normal file
34
multiproject/xdocs/goals.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<document>
|
||||
<properties>
|
||||
<title>Maven Multi-Project Plug-in Goals</title>
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<goals>
|
||||
<goal>
|
||||
<name>multiproject</name>
|
||||
<description>Run the site goal of all projects</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>multiproject:site</name>
|
||||
<description>Run the site goal of all projects</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>multiproject:goal</name>
|
||||
<description>
|
||||
Run the comma separated list of goals provided by the variable <code>goal</code> for all projects
|
||||
e.g.
|
||||
<source>
|
||||
maven -Dgoal=java:compile multiproject:goal
|
||||
</source>
|
||||
or
|
||||
<source>
|
||||
maven -Dgoal=clean,java:compile,test multiproject:goal
|
||||
</source>
|
||||
</description>
|
||||
</goal>
|
||||
</goals>
|
||||
</body>
|
||||
</document>
|
||||
26
multiproject/xdocs/index.xml
Normal file
26
multiproject/xdocs/index.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Maven Multi-Project Plugin</title>
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Maven Multi-Project Plugin">
|
||||
<p>
|
||||
This plug-in provides the ability to work with many projects via the same interface
|
||||
as a single project.
|
||||
</p>
|
||||
<p>
|
||||
For more information on the functionality provided by this plugin,
|
||||
please see the <a href="goals.html">Goals</a> document.
|
||||
</p>
|
||||
<p>
|
||||
For more information on how to customise the functionality provided
|
||||
by this plugin, please see the <a href="properties.html">properties</a>
|
||||
document.
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
15
multiproject/xdocs/navigation.xml
Normal file
15
multiproject/xdocs/navigation.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<project name="Maven Multi-Project Plugin">
|
||||
|
||||
<title>Maven Multi-Project Plugin</title>
|
||||
|
||||
<body>
|
||||
<links>
|
||||
<item name="Maven" href="http://maven.apache.org/"/>
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item name="Goals" href="/goals.html" />
|
||||
<item name="Properties" href="/properties.html" />
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
||||
71
multiproject/xdocs/properties.xml
Normal file
71
multiproject/xdocs/properties.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<document>
|
||||
<properties>
|
||||
<title>Maven Multi-Project Plug-in Properties</title>
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<section name="Maven Multi-Project Plug-in Settings">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Optional?</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.multiproject.basedir</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>
|
||||
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
|
||||
</p>
|
||||
<p>
|
||||
Default value is <code>${basedir}</code>.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.multiproject.excludes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>
|
||||
This is the list of file specifications to be excluded when searching for
|
||||
projects to be processed by the plugin
|
||||
</p>
|
||||
<p>Default value is the empty string.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.multiproject.ignoreFailures</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>
|
||||
Set this to true to allow the plugin to continue
|
||||
when any project fails during processing.
|
||||
</p>
|
||||
<p>
|
||||
Default value is <code>false</code>. That means that if a project fails,
|
||||
other projects will not be processed.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.multiproject.includes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>
|
||||
This is the list of file specifications to be included when searching for
|
||||
projects to be processed by the plugin
|
||||
</p>
|
||||
<p>
|
||||
Default value is <code>*/project.xml</code>, that is all project.xml files one
|
||||
directory below the base directory
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
Reference in New Issue
Block a user