Repository: flex-site
Updated Branches:
  refs/heads/maven-site 41b8d7ad0 -> f29c45333


- Added configuration to stage the site in the asf-site branch of the same repo.


Project: http://git-wip-us.apache.org/repos/asf/flex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-site/commit/f29c4533
Tree: http://git-wip-us.apache.org/repos/asf/flex-site/tree/f29c4533
Diff: http://git-wip-us.apache.org/repos/asf/flex-site/diff/f29c4533

Branch: refs/heads/maven-site
Commit: f29c4533353c006243b055e63fa59b0700134ca1
Parents: 41b8d7a
Author: Christofer Dutz <christofer.d...@codecentric.de>
Authored: Sat Oct 8 13:46:42 2016 +0200
Committer: Christofer Dutz <christofer.d...@codecentric.de>
Committed: Sat Oct 8 13:46:42 2016 +0200

----------------------------------------------------------------------
 pom.xml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-site/blob/f29c4533/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6e41103..d348565 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,8 +52,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      
<url>scm:svn:https://svn.apache.org/repos/asf/flex/site/trunk/content/maven/flexjs/${website.path}</url>
-      
<!--url>scm:svn:https://svn.apache.org/repos/infra/websites/production/flex/content/maven/flexjs/${website.path}</url-->
+      <url>scm:git:https://git-wip-us.apache.org/repos/asf/flex-site.git</url>
     </site>
   </distributionManagement>
 
@@ -212,6 +211,18 @@
           </dependency>
         </dependencies>
       </plugin>
+
+      <!--
+          Make the maven-site-plugin stage the output in the "asf-site" branch
+      -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <version>1.1</version>
+        <configuration>
+          <scmBranch>asf-site</scmBranch>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to