dion 2003/06/29 20:18:49 Added: src/plugins-build/multiproject project.properties project.xml plugin.properties .cvsignore plugin.jelly src/plugins-build/multiproject/xdocs .cvsignore goals.xml properties.xml navigation.xml changes.xml index.xml Log: Rename from reactor Revision Changes Path 1.1 maven/src/plugins-build/multiproject/project.properties Index: project.properties =================================================================== # ------------------------------------------------------------------- # 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 1.1 maven/src/plugins-build/multiproject/project.xml Index: project.xml =================================================================== <?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:[EMAIL PROTECTED]:/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>[EMAIL PROTECTED]</email> <organization>Multitask Consulting</organization> <roles> <role>Java Developer</role> </roles> </developer> </developers> </project> 1.1 maven/src/plugins-build/multiproject/plugin.properties Index: plugin.properties =================================================================== # ------------------------------------------------------------------- # 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 1.1 maven/src/plugins-build/multiproject/.cvsignore Index: .cvsignore =================================================================== target *.log 1.1 maven/src/plugins-build/multiproject/plugin.jelly Index: plugin.jelly =================================================================== <?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> 1.1 maven/src/plugins-build/multiproject/xdocs/.cvsignore Index: .cvsignore =================================================================== stylesheets 1.1 maven/src/plugins-build/multiproject/xdocs/goals.xml Index: goals.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <document> <properties> <title>Maven Multi-Project Plug-in Goals</title> <author email="[EMAIL PROTECTED]">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> 1.1 maven/src/plugins-build/multiproject/xdocs/properties.xml Index: properties.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <document> <properties> <title>Maven Multi-Project Plug-in Properties</title> <author email="[EMAIL PROTECTED]">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> 1.1 maven/src/plugins-build/multiproject/xdocs/navigation.xml Index: navigation.xml =================================================================== <?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> 1.1 maven/src/plugins-build/multiproject/xdocs/changes.xml Index: changes.xml =================================================================== <?xml version="1.0"?> <document> <properties> <title>Changes</title> <author email="[EMAIL PROTECTED]">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> 1.1 maven/src/plugins-build/multiproject/xdocs/index.xml Index: index.xml =================================================================== <?xml version="1.0"?> <document> <properties> <title>Maven Multi-Project Plugin</title> <author email="[EMAIL PROTECTED]">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>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]