diff options
author | Brett Porter <brett@apache.org> | 2008-03-30 00:13:12 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2008-03-30 00:13:12 +0000 |
commit | 87cc0df28e04bf2f732acc850b1755978fc3f85d (patch) | |
tree | e0758344c315497380c0853e12ec715b0f720748 /archiva-docs/pom.xml | |
parent | ac6b59e28cbb3005fb3652effeeaa3d654337eda (diff) | |
download | archiva-87cc0df28e04bf2f732acc850b1755978fc3f85d.tar.gz archiva-87cc0df28e04bf2f732acc850b1755978fc3f85d.zip |
deploy the site on release
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r-- | archiva-docs/pom.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml index 334ca5efd..1d67b1695 100644 --- a/archiva-docs/pom.xml +++ b/archiva-docs/pom.xml @@ -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> |