Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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 "https://xxx-jazz.xxx.com" 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:

    <scm>
        <connection>scm:jazz:https://xxx-jazz.xxx.com:9443/ccm:WS_JME-My-Apps</connection>
    </scm>

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:

https://jazz.net/forum/questions/156938/maven-scm-plugin-bug-with-flat-structure

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?

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 45

Question asked: Nov 03 '15, 7:56 a.m.

Question was seen: 3,133 times

Last updated: Nov 03 '15, 7:56 a.m.

Confirmation Cancel Confirm