maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Blakey (JIRA)" <>
Subject [jira] Commented: (MSITE-601) Period added to URL prevents proper cloning with Mercurial
Date Tue, 02 Aug 2011 11:06:42 GMT


Leon Blakey commented on MSITE-601:

This is an issue with Google's new namespace overlap though. A projects new main repo and
main site are at the exact same URL. Its also an issue with Google seeing . or / or any extra
character for that matter as a separate file or mode.

BTW, tried to get that fixed, got denied:

It seems like it would be a lot easier to normalize URL's in the site plugin than to convince
Google to handle extra character's in a URL.

More importantly: Why does the site plugin *need* to add a /./ to the URL? I can't think of
a use case for that.

> Period added to URL prevents proper cloning with Mercurial
> ----------------------------------------------------------
>                 Key: MSITE-601
>                 URL:
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy
>    Affects Versions: 3.0-beta-3
>         Environment: Javac 7 on Fedora Linux 15, Mercurial 1.9
>            Reporter: Leon Blakey
>            Priority: Critical
> I deploy my Maven site over Mercurial on Google Code. I use this configuration
> {code:xml}<distributionManagement>
> 	<!--Site deploy repository-->
> 	<site>
> 		<id></id>
> 		<url>scm:hg:</url>
> 	</site>
> </distributionManagement>{code}
> And a standard <server> in settings.xml
> {code:xml}<servers>
> 	<server>
> 		<id></id>
> 		<username>USERNAME</username>
> 		<password>PASSWORD</password>
> 	</server>
> </servers>{code}
> However when running site:deploy it decides that it should add a dot to the URL, meaning
it tries to execute this command
> EXECUTING: /bin/sh -c cd /tmp && hg clone -r tip
> Which on Google and other repositories gives a 404 since the file . (look at the end
of the URL) doesn't exist. Why is that period there? Is it coming from Maven Site or the Mercurial
plugin (I'm assuming here)? Can it get removed>

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message