You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jv...@apache.org on 2002/07/23 18:23:48 UTC
cvs commit: jakarta-commons maven.xml
jvanzyl 2002/07/23 09:23:48
Added: . maven.xml
Log:
o maven.xml to control the manual reactor for the builds and site generation
Revision Changes Path
1.1 jakarta-commons/maven.xml
Index: maven.xml
===================================================================
<project default="commons:build"
xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary"
xmlns:j="jelly:core">
<!-- ================================================================== -->
<!-- C O M M O N S B U I L D -->
<!-- ================================================================== -->
<goal name="commons:build"
description="Build each Maven plugin into an installable jar">
<fileScanner var="commonsProjects">
<fileset dir="${basedir}">
<include name="*/project.xml"/>
</fileset>
</fileScanner>
<j:forEach var="commonsProject" items="${commonsProjects.iterator()}">
<echo>
+----------------------------------------
| Building ${commonsProject.parentFile.name}
+----------------------------------------
</echo>
${commonsProject.parentFile}
<maven:maven dir="${commonsProject.parentFile}"
descriptor="${commonsProject}"
ignoreFailures="true"/>
</j:forEach>
</goal>
<!-- ================================================================== -->
<!-- C O M M O N S W E B S I T E -->
<!-- ================================================================== -->
<goal name="commons:site"
description="Generate site documentation for each commons project">
<fileScanner var="commonsProjects">
<fileset dir="${basedir}">
<include name="*/project.xml"/>
</fileset>
</fileScanner>
<j:forEach var="commonsProject" items="${commonsProjects.iterator()}">
<echo>
+----------------------------------------
| Generating site for ${commonsProject.parentFile.name}
+----------------------------------------
</echo>
${commonsProject.parentFile}
<maven:maven dir="${commonsProject.parentFile}"
descriptor="${commonsProject}"
goals="site:generate"
ignoreFailures="true"/>
</j:forEach>
</goal>
</project>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>