]> source.dussan.org Git - archiva.git/commitdiff
move publish to svnpubsub
authorBrett Porter <brett@apache.org>
Mon, 7 Jan 2013 12:33:05 +0000 (12:33 +0000)
committerBrett Porter <brett@apache.org>
Mon, 7 Jan 2013 12:33:05 +0000 (12:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1429773 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/pom.xml

index ae53dcc7ec68353fecb0398abb809ca75ae69a2e..07bffb5d2ebe993ce033116559f373be4a3bc053 100644 (file)
@@ -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>
 
       <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>