You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by br...@apache.org on 2013/01/07 13:33:06 UTC

svn commit: r1429773 - /archiva/branches/archiva-1.3.x/archiva-docs/pom.xml

Author: brett
Date: Mon Jan  7 12:33:05 2013
New Revision: 1429773

URL: http://svn.apache.org/viewvc?rev=1429773&view=rev
Log:
move publish to svnpubsub

Modified:
    archiva/branches/archiva-1.3.x/archiva-docs/pom.xml

Modified: archiva/branches/archiva-1.3.x/archiva-docs/pom.xml
URL: http://svn.apache.org/viewvc/archiva/branches/archiva-1.3.x/archiva-docs/pom.xml?rev=1429773&r1=1429772&r2=1429773&view=diff
==============================================================================
--- archiva/branches/archiva-1.3.x/archiva-docs/pom.xml (original)
+++ archiva/branches/archiva-1.3.x/archiva-docs/pom.xml Mon Jan  7 12:33:05 2013
@@ -83,7 +83,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>${siteBaseDeployment}/docs/${project.version}</url>
+      <url>scm:svn:https://svn.apache.org/repos/asf/archiva/site-content/docs/${project.version}</url>
     </site>
   </distributionManagement>
 
@@ -94,17 +94,22 @@
       <build>
         <plugins>
           <plugin>
-            <artifactId>maven-site-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>deploy</id>
-                <phase>deploy</phase>
-                <goals>
-                  <goal>deploy</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
+            <groupId>org.apache.maven.plugins</groupId>                         
+            <artifactId>maven-scm-publish-plugin</artifactId>                   
+            <configuration>                                                     
+              <checkinComment>Apache Archiva Versioned docs for ${project.version}</checkinComment>
+              <content>${project.build.directory}/site</content>
+            </configuration>                                                    
+            <executions>                                                        
+              <execution>                                                       
+                <id>scm-publish</id>                                            
+                <phase>deploy</phase>                                      
+                <goals>                                                         
+                  <goal>publish-scm</goal>                                      
+                </goals>                                                        
+              </execution>                                                      
+            </executions>                                                       
+          </plugin>                                                
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-enforcer-plugin</artifactId>