aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-docs/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r--archiva-docs/pom.xml6
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>