summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-docs/pom.xml26
1 files changed, 19 insertions, 7 deletions
diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml
index 692e046a8..cc2dbdb66 100644
--- a/archiva-docs/pom.xml
+++ b/archiva-docs/pom.xml
@@ -48,19 +48,31 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-publish-plugin</artifactId>
- <configuration>
- <checkinComment>Apache Archiva Versionned docs for ${project.version}</checkinComment>
- </configuration>
- </plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <configuration>
+ <checkinComment>Apache Archiva Versionned docs for ${project.version}</checkinComment>
+ </configuration>
+ <executions>
+ <execution>
+ <id>scm-publish</id>
+ <phase>site-deploy</phase>
+ <goals>
+ <goal>publish-scm</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <skipDeploy>true</skipDeploy>
+ </configuration>
<executions>
<execution>
<id>site-generate-resources</id>