Permalink
Browse files

publish a tag of the documentation on release

git-svn-id: https://svn.apache.org/repos/asf/continuum/trunk@1427649 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 34b7da7 commit b168f2a3ad21cc080c3a08824777dd4f5d8a22a6 @brettporter brettporter committed Jan 2, 2013
Showing with 33 additions and 0 deletions.
  1. +33 −0 continuum-docs/pom.xml
View
@@ -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>

0 comments on commit b168f2a

Please sign in to comment.