You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2011/06/27 11:56:20 UTC

svn commit: r1140082 - /maven/pom/trunk/maven/pom.xml

Author: stephenc
Date: Mon Jun 27 09:56:20 2011
New Revision: 1140082

URL: http://svn.apache.org/viewvc?rev=1140082&view=rev
Log:
[MPOM-19] Cannot stage site documentation with Maven 3.0.x.

Implemented as smallest possible fix (i.e. just adding the dependency to the site plugin when running Maven 3.0.x)

Modified:
    maven/pom/trunk/maven/pom.xml

Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1140082&r1=1140081&r2=1140082&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Mon Jun 27 09:56:20 2011
@@ -833,6 +833,23 @@ under the License.
         </file>
       </activation>
       <build>
+        <!-- we need to have the ssh wagon for site deployment at ASF -->
+        <!-- TODO: move to the ASF pom -->
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-site-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>org.apache.maven.wagon</groupId>
+                  <artifactId>wagon-ssh</artifactId>
+                  <version>1.0-beta-7</version>
+                </dependency>
+              </dependencies>
+            </plugin>
+          </plugins>
+        </pluginManagement>
        <!-- we need to attach the descriptor for this pom -->
         <plugins>
           <plugin>