You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by br...@apache.org on 2008/03/30 01:13:14 UTC

svn commit: r642652 - /archiva/trunk/archiva-docs/pom.xml

Author: brett
Date: Sat Mar 29 17:13:12 2008
New Revision: 642652

URL: http://svn.apache.org/viewvc?rev=642652&view=rev
Log:
deploy the site on release

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

Modified: archiva/trunk/archiva-docs/pom.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/pom.xml?rev=642652&r1=642651&r2=642652&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/pom.xml (original)
+++ archiva/trunk/archiva-docs/pom.xml Sat Mar 29 17:13:12 2008
@@ -87,4 +87,27 @@
       <url>${siteBaseDeployment}/docs/${project.version}</url>
     </site>
   </distributionManagement>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <!-- TODO: this deploys directly - what about staging? -->
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-site-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>deploy</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>