]> source.dussan.org Git - archiva.git/commitdiff
deploy the site on release
authorBrett Porter <brett@apache.org>
Sun, 30 Mar 2008 00:13:12 +0000 (00:13 +0000)
committerBrett Porter <brett@apache.org>
Sun, 30 Mar 2008 00:13:12 +0000 (00:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642652 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/pom.xml

index 334ca5efd76bf12f927c5399821de6153c2761c4..1d67b1695d3a9918f7333eba5b5b6fb612e0c381 100644 (file)
       <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>