diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-11-30 20:58:52 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-11-30 20:58:52 +0100 |
commit | fce356b5938935871c6f3de4b4e65223827a604e (patch) | |
tree | 769abf3460e926fbe221a9fb9e0d3c004b086a07 /archiva-docs/pom.xml | |
parent | 58b9a3a8b64de41f0774e67882d493202a3be300 (diff) | |
download | archiva-fce356b5938935871c6f3de4b4e65223827a604e.tar.gz archiva-fce356b5938935871c6f3de4b4e65223827a604e.zip |
Switching site publish to asf-staging branch
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r-- | archiva-docs/pom.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml index 50ffac770..b035a892c 100644 --- a/archiva-docs/pom.xml +++ b/archiva-docs/pom.xml @@ -36,6 +36,8 @@ <!-- The git repository, where the site content is placed --> <siteRepositoryUrl>scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content.git</siteRepositoryUrl> <scmPubCheckoutDirectory>${basedir}/.site-content</scmPubCheckoutDirectory> + <scmPublishBranch>asf-staging</scmPublishBranch> + <scmPublishPath>/docs/${project.version}</scmPublishPath> </properties> <build> @@ -94,7 +96,7 @@ <artifactId>maven-site-plugin</artifactId> <configuration> <skipDeploy>true</skipDeploy> - <stagingDirectory>${project.build.directory}/staging/docs/${project.version}/</stagingDirectory> + <stagingDirectory>${project.build.directory}/staging${scmPublishPath}/</stagingDirectory> </configuration> <executions> <execution> @@ -212,6 +214,8 @@ <arguments> <argument>-d</argument> <argument>${scmPubCheckoutDirectory}</argument> + <argument>-b</argument> + <argument>${scmPublishBranch}</argument> <argument>${siteRepositoryUrl}</argument> </arguments> </configuration> |