You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2013/06/19 14:53:24 UTC

svn commit: r1494595 - in /maven/plugin-testing/trunk: deploySite.sh pom.xml

Author: olamy
Date: Wed Jun 19 12:53:24 2013
New Revision: 1494595

URL: http://svn.apache.org/r1494595
Log:
configure site deployment

Added:
    maven/plugin-testing/trunk/deploySite.sh   (with props)
Modified:
    maven/plugin-testing/trunk/pom.xml

Added: maven/plugin-testing/trunk/deploySite.sh
URL: http://svn.apache.org/viewvc/maven/plugin-testing/trunk/deploySite.sh?rev=1494595&view=auto
==============================================================================
--- maven/plugin-testing/trunk/deploySite.sh (added)
+++ maven/plugin-testing/trunk/deploySite.sh Wed Jun 19 12:53:24 2013
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+mvn clean site site:stage $@
+mvn scm-publish:publish-scm $@

Propchange: maven/plugin-testing/trunk/deploySite.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugin-testing/trunk/deploySite.sh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/plugin-testing/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-testing/trunk/pom.xml?rev=1494595&r1=1494594&r2=1494595&view=diff
==============================================================================
--- maven/plugin-testing/trunk/pom.xml (original)
+++ maven/plugin-testing/trunk/pom.xml Wed Jun 19 12:53:24 2013
@@ -132,16 +132,21 @@ under the License.
     <system>jira</system>
     <url>http://jira.codehaus.org/browse/MPLUGINTESTING</url>
   </issueManagement>
+  <ciManagement>
+    <system>Jenkins</system>
+    <url>https://builds.apache.org/job/maven-plugin-testing/</url>
+  </ciManagement>
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scp://people.apache.org/www/maven.apache.org/plugin-testing/</url>
+      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
     </site>
   </distributionManagement>
 
   <properties>
     <mavenVersion>3.0.5</mavenVersion>
     <plexusVersion>1.5.1</plexusVersion>
+    <maven.site.path>plugin-testing-archives/LATEST</maven.site.path>
   </properties>
 
   <dependencyManagement>
@@ -225,13 +230,21 @@ under the License.
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.1</version>
-        </plugin>        
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
-          <version>3.3</version>
+          <version>3.3</version><!-- TODO remove when upgrading parent to 24 -->
+          <configuration>
+            <topSiteURL>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</topSiteURL>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
           <configuration>
-            <stagingSiteURL>scp://people.apache.org/www/maven.apache.org/plugin-testing/${project.artifactId}-${project.version}</stagingSiteURL>
+            <checkoutDirectory>${maven.site.cache}/${maven.site.path}</checkoutDirectory>
+            <tryUpdate>true</tryUpdate>
           </configuration>
         </plugin>
         <plugin>