0

I use maven-3.2.3 for my project.

When I execute mvn release:prepare, everything is going well.

but after execute mvn release:perform I have following error :

No SCM URL was provided to perform the release from

I have scm element in my pom.xml :

<scm>
    <url>scm:git:http://my-project-url/</url>
    <connection>scm:git:http://my-project-url/</connection>
    <developerConnection>scm:git:http://my-project-url/</developerConnection>
    <tag>HEAD</tag>
</scm>

I dont understand why an error of SCM

Valeriane
  • 936
  • 3
  • 16
  • 37

1 Answers1

0

According to documentation your <url> tag is incorrect. It should be simply http, without scm:git.

Marek J
  • 1,364
  • 8
  • 18
  • 33