activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1143588 - /activemq/activemq-apollo/trunk/apollo-website/pom.xml
Date Wed, 06 Jul 2011 22:28:49 GMT
Author: chirino
Date: Wed Jul  6 22:28:48 2011
New Revision: 1143588

URL: http://svn.apache.org/viewvc?rev=1143588&view=rev
Log:
Move the website deployment into a profile so it can be disabled in the CI builds.

Modified:
    activemq/activemq-apollo/trunk/apollo-website/pom.xml

Modified: activemq/activemq-apollo/trunk/apollo-website/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-website/pom.xml?rev=1143588&r1=1143587&r2=1143588&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-website/pom.xml (original)
+++ activemq/activemq-apollo/trunk/apollo-website/pom.xml Wed Jul  6 22:28:48 2011
@@ -34,7 +34,6 @@
 
   <properties>
     <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
-    <website-server-id>apollo-website</website-server-id>
   </properties>
 
   <dependencies>
@@ -122,7 +121,7 @@
         
         <configuration>
           <webappDirectory>${basedir}/src</webappDirectory>
-          <remoteServerId>${website-server-id}</remoteServerId>
+          <remoteServerId>apollo-website</remoteServerId>
           <remoteServerUrl>${website-base-url}/versions/${project.version}/website/</remoteServerUrl>
         </configuration>
         
@@ -134,13 +133,6 @@
             </goals>
             <phase>package</phase>
           </execution>
-          <execution>
-            <id>deploy</id>
-            <goals>
-              <goal>deploy</goal>
-            </goals>
-            <phase>deploy</phase>
-          </execution> 
         </executions>
         
       </plugin>
@@ -354,6 +346,35 @@
         </plugins>
       </build>
     </profile>
+    
+    <profile>
+      <id>deploy-website</id>
+      <activation>
+        <property>
+          <name>java.vm.name</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.fusesource.scalate</groupId>
+            <artifactId>maven-scalate-plugin</artifactId>
+            <version>${scalate-version}</version>
+        
+            <executions>
+              <execution>
+                <id>deploy</id>
+                <goals>
+                  <goal>deploy</goal>
+                </goals>
+                <phase>deploy</phase>
+              </execution> 
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+          
   </profiles>
             
 </project>



Mime
View raw message