It's all about the answers!

Ask a question

mvn-release-plugin - release:prepare fails on RTC

James East (111) | asked Nov 03 '15, 7:56 a.m.
Hi, I am using the maven-release-plugin with RTC, and when I run 'mvn release:prepare' against the parent project, I get the following error just as it attempts to tag the release:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project web-parent: Jazz Url "" is not a valid URL. The Jazz Url syntax is scm:jazz:[username[;password]@]http[s]://server_name[:port]/contextRoot:repositoryWorkspace -> [Help 1]

This is what the <scm> node looks like in my parent project's pom.xml:


which, I believe, IS a valid Jazz URL.  So I could be the "not a valid URL" error is not be coming from here.

My project structure in RTC is flat, i.e. not nested.  I have a toplevel parent project which is the parent of both a WAR project and an EAR project.  I only bring this up because I read here:

that someone tried to also use a flat project structure and got this exact same error.  Unfortunately, the Jazz developer did not provide a fix to the problem, just a means of resuming the build after the error.

My environment is RTC 4.2.1 with maven 3.2.3.

Can someone help, please?

Be the first one to answer this question!

Register or to post your answer.