Author: ggregory
Date: Wed Sep 28 12:22:46 2011
New Revision: 1176841
URL: http://svn.apache.org/viewvc?rev=1176841&view=rev
Log:
To deploy a site with a non-built-in protocol, you need to add the
corresponding wagon provider. Out of the box, Maven 3 only supports file:,
http: and https: as transport protocols. Maven 2 adds scp: to this list. If you
try to deploy a site with an unsupported protocol, you'll get an error. See
https://maven.apache.org/plugins/maven-site-plugin/examples/adding-deploy-protocol.html
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1176841&r1=1176840&r2=1176841&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Wed Sep 28 12:22:46 2011
@@ -277,14 +277,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
- <dependencies>
- <dependency>
- <!-- add support for ssh/scp -->
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ssh</artifactId>
- <version>1.0</version>
- </dependency>
- </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -898,6 +890,14 @@
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <!-- add support for ssh/scp -->
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>1.0</version>
+ </dependency>
+ </dependencies>
<executions>
<execution>
<id>attach-descriptor</id>