Author: ggregory
Date: Wed Sep 28 03:35:42 2011
New Revision: 1176700
URL: http://svn.apache.org/viewvc?rev=1176700&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=1176700&r1=1176699&r2=1176700&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Wed Sep 28 03:35:42 2011
@@ -277,6 +277,14 @@
<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>
|