Author: olamy
Date: Fri Jul  5 14:04:03 2013
New Revision: 1500011

URL: http://svn.apache.org/r1500011
Log:
configure site publication

Modified:
    maven/archetype/trunk/pom.xml

Modified: maven/archetype/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/archetype/trunk/pom.xml?rev=1500011&r1=1500010&r2=1500011&view=diff
==============================================================================
--- maven/archetype/trunk/pom.xml (original)
+++ maven/archetype/trunk/pom.xml Fri Jul  5 14:04:03 2013
@@ -67,7 +67,7 @@ under the License.
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scp://people.apache.org/www/maven.apache.org/archetype/</url>
+      
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
     </site>
   </distributionManagement>
 
@@ -76,6 +76,7 @@ under the License.
     <netbeans.hint.useExternalMaven>true</netbeans.hint.useExternalMaven>
     <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion>
     <wagonVersion>1.0</wagonVersion>
+    <maven.site.path>archetype-archives/archetype-LATEST</maven.site.path>
   </properties>
 
   <dependencyManagement>
@@ -263,6 +264,14 @@ under the License.
           <artifactId>apache-rat-plugin</artifactId>
           <version>0.8</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <configuration>
+            
<checkoutDirectory>${maven.site.cache}/${maven.site.path}</checkoutDirectory>
+            <tryUpdate>true</tryUpdate>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>


Reply via email to