commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niall Pemberton <niall.pember...@gmail.com>
Subject Re: svn commit: r1078455 - /commons/proper/commons-parent/trunk/pom.xml
Date Sun, 06 Mar 2011 14:29:10 GMT
Hi Sebb,

Whats the reason behind adding this change? Why wouldn't someone just
switch to the module directory and build from there?

Also, if there is a good reason, then the shorter the property  name,
the easier it is

e.g. mvn -Dcommons.module=math test

would be better than

       mvn -Dcommons.module.path=math test

Niall

On Sun, Mar 6, 2011 at 11:54 AM,  <sebb@apache.org> wrote:
> 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
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message