continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1427649 - /continuum/trunk/continuum-docs/pom.xml
Date Wed, 02 Jan 2013 04:46:48 GMT
Author: brett
Date: Wed Jan  2 04:46:47 2013
New Revision: 1427649

URL: http://svn.apache.org/viewvc?rev=1427649&view=rev
Log:
publish a tag of the documentation on release

Modified:
    continuum/trunk/continuum-docs/pom.xml

Modified: continuum/trunk/continuum-docs/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-docs/pom.xml?rev=1427649&r1=1427648&r2=1427649&view=diff
==============================================================================
--- continuum/trunk/continuum-docs/pom.xml (original)
+++ continuum/trunk/continuum-docs/pom.xml Wed Jan  2 04:46:47 2013
@@ -85,6 +85,39 @@
       </plugin>
     </plugins>
   </reporting>
+  <profiles>
+    <profile>
+      <id>tag</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>exec-maven-plugin</artifactId>
+            <version>1.2.1</version>
+            <executions>
+              <execution>
+                <id>tag-publish-site</id>
+                <configuration>
+                  <executable>svn</executable>
+                  <arguments>
+                    <argument>--non-interactive</argument>
+                    <argument>cp</argument>
+                    <argument>-m"Copy versioned documentation"</argument>
+                    <argument>${svnUrl}</argument>
+                    <argument>https://svn.apache.org/repos/asf/continuum/site-publish/docs/${project.version}</argument>
+                  </arguments>
+                </configuration>
+                <phase>site-deploy</phase>
+                <goals>
+                  <goal>exec</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <properties>
     <svnUrl>https://svn.apache.org/repos/asf/continuum/site-publish/docs/latest</svnUrl>
   </properties>



Mime
View raw message