Author: wsmoak
Date: Mon Jun 26 19:53:21 2006
New Revision: 417330

URL: http://svn.apache.org/viewvc?rev=417330&view=rev
Log:
SHALE-179 Maven 2 build improvements.
 * Add the ability to activate each profile with a system property as well as 
the profile ID.
 * Add an 'apps' profile to the shale-parent pom, so that the entire project 
can be built at once if desired.

Modified:
    struts/shale/trunk/pom.xml
    struts/shale/trunk/shale-apps/shale-blank/pom.xml
    struts/shale/trunk/shale-apps/shale-clay-usecases/pom.xml
    struts/shale/trunk/shale-apps/shale-usecases/pom.xml   (contents, props 
changed)

Modified: struts/shale/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/shale/trunk/pom.xml?rev=417330&r1=417329&r2=417330&view=diff
==============================================================================
--- struts/shale/trunk/pom.xml (original)
+++ struts/shale/trunk/pom.xml Mon Jun 26 19:53:21 2006
@@ -58,8 +58,24 @@
     <profiles>
         <profile>
             <id>designtime</id>
+            <activation>
+                <property>
+                    <name>designtime</name>
+                </property>
+            </activation>
             <modules>
                 <module>shale-designtime</module>
+            </modules>
+        </profile>
+        <profile>
+            <id>apps</id>
+            <activation>
+                <property>
+                    <name>apps</name>
+                </property>
+            </activation>
+            <modules>
+                <module>shale-apps</module>
             </modules>
         </profile>
         <profile>

Modified: struts/shale/trunk/shale-apps/shale-blank/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/shale/trunk/shale-apps/shale-blank/pom.xml?rev=417330&r1=417329&r2=417330&view=diff
==============================================================================
--- struts/shale/trunk/shale-apps/shale-blank/pom.xml (original)
+++ struts/shale/trunk/shale-apps/shale-blank/pom.xml Mon Jun 26 19:53:21 2006
@@ -116,6 +116,11 @@
     <profiles>
         <profile>
             <id>itest</id>
+            <activation>
+                <property>
+                    <name>itest</name>
+                </property>
+            </activation>
             <build>
                 <plugins>
                     <plugin>

Modified: struts/shale/trunk/shale-apps/shale-clay-usecases/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/shale/trunk/shale-apps/shale-clay-usecases/pom.xml?rev=417330&r1=417329&r2=417330&view=diff
==============================================================================
--- struts/shale/trunk/shale-apps/shale-clay-usecases/pom.xml (original)
+++ struts/shale/trunk/shale-apps/shale-clay-usecases/pom.xml Mon Jun 26 
19:53:21 2006
@@ -130,6 +130,11 @@
     <profiles>
         <profile>
             <id>itest</id>
+            <activation>
+                <property>
+                    <name>itest</name>
+                </property>
+            </activation>
             <build>
                 <plugins>
                     <plugin>

Modified: struts/shale/trunk/shale-apps/shale-usecases/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/shale/trunk/shale-apps/shale-usecases/pom.xml?rev=417330&r1=417329&r2=417330&view=diff
==============================================================================
--- struts/shale/trunk/shale-apps/shale-usecases/pom.xml (original)
+++ struts/shale/trunk/shale-apps/shale-usecases/pom.xml Mon Jun 26 19:53:21 
2006
@@ -129,6 +129,11 @@
     <profiles>
         <profile>
             <id>itest</id>
+            <activation>
+                <property>
+                    <name>itest</name>
+                </property>
+            </activation>
             <build>
                 <plugins>
                     <plugin>

Propchange: struts/shale/trunk/shale-apps/shale-usecases/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to