Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0
-
None
-
None
-
Fedora 15, Java 7u1, Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Description
I deploy my maven site with mercurial. In 3.0-beta-3 and 3.0-beta-4-20110712.115141-32 this worked perfectly but in 3.0 it fails.
Configuration:
<build>
<plugins>
...
<!--Deploy site with Mercurial (Hg)-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-hg</artifactId>
<version>1.5</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<distributionManagement>
<!--Site deploy repository-->
<site>
<id>MYPROJECT.googlecode.com</id>
<url>scm:hg:https://site.MYPROJECT.googlecode.com/hg/</url>
</site>
</distributionManagement>
I also have my username and password configured in settings.xml
With this configuration and maven-site-plugin at 3.0-beta-3, it works. With this exact same configuration and maven-site-plugin at 3.0, it fails with this when deploying
Unsupported protocol: 'scm' for site deployment to distributionManagement.site.url=scm:hg:https://site.MYPROJECT.googlecode.com/hg/.
Currently supported protocols are: https, file, http.
Protocols may be added through wagon providers.
For more information, see http://maven.apache.org/plugins/maven-site-plugin/examples/adding-deploy-protocol.html
Note to deploy I'm running `mvn clean site-deploy` and `mvn clean site:site site:deploy`
I think this qualifies as a regression.
Attachments
Issue Links
- relates to
-
MSITE-598 Maven Site Plugin 3.x ignores Wagon extensions
- Closed