Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-601

Period added to URL prevents proper cloning with Mercurial

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-3
    • Fix Version/s: 3.1
    • Component/s: site:deploy
    • Labels:
      None
    • Environment:
      Javac 7 on Fedora Linux 15, Mercurial 1.9

      Description

      I deploy my Maven site over Mercurial on Google Code. I use this configuration

      <distributionManagement>
      	<!--Site deploy repository-->
      	<site>
      		<id>MYPROJECT.googlecode.com</id>
      		<url>scm:hg:https://code.google.com/p/MYPROJECT.site/</url>
      	</site>
      </distributionManagement>

      And a standard <server> in settings.xml

      <servers>
      	<server>
      		<id>MYPROJECT.googlecode.com</id>
      		<username>USERNAME</username>
      		<password>PASSWORD</password>
      	</server>
      </servers>

      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 https://USERNAME:PASSWORD@code.google.com/p/MYPROJECT.site//. /tmp/wagon-scm1348091978.checkout

      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>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thelq Leon Blakey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: