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?
[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?