You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2013/01/02 05:46:48 UTC

svn commit: r1427649 - /continuum/trunk/continuum-docs/pom.xml

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>