SCM URL of local GIT repo

Viewed 6951

I am trying to test mvn release plugin with my local git repo . I am getting error No SCM URL was provided to perform the release from even though parent pom has following detail

<scm>
    <url>scm:git:file://localhost/d/Research/Research.git</url>
    <connection>scm:git:file://localhost/d/Research/Research.git</connection>
    <developerConnection>scm:git:file://localhost/d/Research/Research.git</developerConnection>
</scm>

Is this correct way to define local repo in mvn ?

1 Answers

Finally managed to get it working . As I am on windows I used below scm tag

<scm>
<url>scm:git:file://d:/Research/.git</url>
<connection>scm:git:file://d:/Research/.git</connection>
<developerConnection>scm:git:file://d:/Research/.git</developerConnection>

Thanks @wemu for your inputs.

Related