You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/11/11 06:47:36 UTC

svn commit: r712946 - in /myfaces/tomahawk/trunk: examples/pom.xml pom.xml

Author: lu4242
Date: Mon Nov 10 21:47:36 2008
New Revision: 712946

URL: http://svn.apache.org/viewvc?rev=712946&view=rev
Log:
add prepareRelease profile for handle assembly projects correctly

Modified:
    myfaces/tomahawk/trunk/examples/pom.xml
    myfaces/tomahawk/trunk/pom.xml

Modified: myfaces/tomahawk/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/pom.xml?rev=712946&r1=712945&r2=712946&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/pom.xml Mon Nov 10 21:47:36 2008
@@ -419,7 +419,19 @@
                 </plugins>
             </build>
         </profile>
-
+        <!-- This profile is invoked by -DprepareRelease=true.  This allows mvn release:prepare to
+              run successfully on the assembly projects. -->
+        <profile>
+            <id>prepare-release</id>
+            <activation>
+                <property>
+                    <name>prepareRelease</name>
+                </property>
+            </activation>
+            <modules>
+                <module>assembly</module>
+            </modules>
+        </profile>
     </profiles>
 
     <build>

Modified: myfaces/tomahawk/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/pom.xml?rev=712946&r1=712945&r2=712946&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/pom.xml (original)
+++ myfaces/tomahawk/trunk/pom.xml Mon Nov 10 21:47:36 2008
@@ -114,6 +114,20 @@
         <module>sandbox15</module>
       </modules>
     </profile>
+
+    <!-- This profile is invoked by -DprepareRelease=true.  This allows mvn release:prepare to
+         run successfully on the assembly projects. -->
+    <profile>
+      <id>prepare-release</id>
+      <activation>
+        <property>
+          <name>prepareRelease</name>
+        </property>
+      </activation>
+      <modules>
+        <module>assembly</module>
+      </modules>
+    </profile>
   </profiles>
     
   <modules>