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 2009/06/16 03:03:20 UTC

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

Author: lu4242
Date: Tue Jun 16 01:03:19 2009
New Revision: 785042

URL: http://svn.apache.org/viewvc?rev=785042&view=rev
Log:
add sandbox assemblies as modules when -DperformRelease=true

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

Modified: myfaces/tomahawk/trunk/sandbox/examples/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/pom.xml?rev=785042&r1=785041&r2=785042&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/pom.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/pom.xml Tue Jun 16 01:03:19 2009
@@ -17,6 +17,22 @@
     </scm>
 
     <profiles>
+        <!-- This profile is invoked by -DprepareRelease=true.
+             This allows mvn release:prepare to
+             run successfully on the assembly projects.
+             But note than sandbox is never released. -->
+        <profile>
+          <id>prepare-release</id>
+          <activation>
+            <property>
+              <name>prepareRelease</name>
+            </property>
+          </activation>
+          <modules>
+            <module>assembly</module>
+          </modules>
+        </profile>
+    
         <profile>
             <id>generate-assembly</id>
             <activation>

Modified: myfaces/tomahawk/trunk/sandbox/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/pom.xml?rev=785042&r1=785041&r2=785042&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/pom.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/pom.xml Tue Jun 16 01:03:19 2009
@@ -19,6 +19,23 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/sandbox</developerConnection>
     <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/sandbox</url>
   </scm>
+  <profiles>
+    <!-- This profile is invoked by -DprepareRelease=true.
+         This allows mvn release:prepare to
+         run successfully on the assembly projects.
+         But note than sandbox is never released. -->
+    <profile>
+      <id>prepare-release</id>
+      <activation>
+        <property>
+          <name>prepareRelease</name>
+        </property>
+      </activation>
+      <modules>
+        <module>assembly</module>
+      </modules>
+    </profile>
+  </profiles>
 
   <modules>
     <module>core</module>