Mercurial (HG) SCM Provider not detected in 3.0, was in 3.0-beta-3
------------------------------------------------------------------
Key: MSITE-615
URL: https://jira.codehaus.org/browse/MSITE-615
Project: Maven 2.x and 3.x Site Plugin
Issue Type: Bug
Components: site:deploy
Affects Versions: 3.0
Environment: Fedora 15, Java 7u1, Maven 3.0.3 (r1075438; 2011-02-28
12:31:09-0500)
Reporter: Leon Blakey
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:
{code}
<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>
{code}
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
{quote}
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
{quote}
Note to deploy I'm running `mvn clean site-deploy` and `mvn clean site:site
site:deploy`
I think this qualifies as a regression.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira