setup cms publishing
diff --git a/.gitignore b/.gitignore
index 49ca981..9e5b85a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
.idea
*.iml
target
-
+.site-content
diff --git a/geronimo-microprofile-site/pom.xml b/geronimo-microprofile-site/pom.xml
index 35de34e..f462dd8 100644
--- a/geronimo-microprofile-site/pom.xml
+++ b/geronimo-microprofile-site/pom.xml
@@ -83,6 +83,27 @@
</dependency>
</dependencies>
</plugin>
+ <plugin> <!-- mvn clean package pre-site scm-publish:publish-scm -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-publish-plugin</artifactId>
+ <version>1.0-beta-2</version>
+ <configuration>
+ <content>${project.build.directory}/${project.build.finalName}</content>
+ <pubScmUrl>scm:svn:https://svn.apache.org/repos/infra/websites/production/geronimo/content/microprofile</pubScmUrl>
+ <tryUpdate>true</tryUpdate>
+ <checkoutDirectory>${project.parent.basedir}/.site-content</checkoutDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>scm-publish</id>
+ <phase>site-deploy</phase>
+ <!-- deploy site with maven-scm-publish-plugin -->
+ <goals>
+ <goal>publish-scm</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>