Author: sebb
Date: Sun Mar 6 11:54:44 2011
New Revision: 1078455
URL: http://svn.apache.org/viewvc?rev=1078455&view=rev
Log:
Add profile to allow build of a single module
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1078455&r1=1078454&r2=1078455&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Sun Mar 6 11:54:44 2011
@@ -756,6 +756,18 @@
</modules>
</profile>
+ <!--
+ ! Profile to allow build of a single module
+ ! e.g. mvn site -Dcommons.module.path=../commons-net
+ -->
+ <profile>
+ <id>build-module</id>
+
<activation><property><name>commons.module.path</name></property></activation>
+ <modules>
+ <module>${commons.module.path}</module>
+ </modules>
+ </profile>
+
<!--
Use maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x
with Maven 3.x
See
http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html