It's all about the answers!

Ask a question

maven scm plugin bug with flat structure


1
1
yuri ivanov (1134) | asked Jun 30 '14, 8:06 a.m.
 Hello, 

I have a problem with maven scm and release plugins.

When i do mvn release:prepare release:perform if projects have flat structure then scm complains that url is wrong but if i make children projects as tree structure then everything is ok again. 

I get this error - 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare (default-cli) on project Authorization: Jazz Url "https://no000010sjts01.moller.local" is not a valid URL. The Jazz Url syntax is scm:jazz:[username[;password]@]http[s]://server_name[:port]/contextRoot:repositoryWorkspace -> [Help 1]
	

One answer



permanent link
Kohji Ohsawa (5951310) | answered Jul 02 '14, 11:04 p.m.
JAZZ DEVELOPER
 Yes, it is a known issue. What is the completedPhase of release.properties? If it says scm-commit-release, would you please change it to scm-tag? Then, run "mvn -B -Dresume=true release:prepare" again.

Comments
yuri ivanov commented Sep 12 '14, 10:15 a.m. | edited Sep 12 '14, 10:20 a.m.

Hi,
release.properties has scm-commit-release and after i changed it to scm-tag and run "mvn -B -Dresume=true release:prepare" it was scuccessfully finished.

but mvn release:perfrom doesn't work after last command.  It looks like that it is because repository wasn't created in prepare command.

[ERROR] Error code for Jazz SCM checkout (load) command - 25
[ERROR] Command output:
[ERROR] Problem running 'load':
[ERROR] Unmatched workspace/stream "MollerAllPoms-0.8"

How can i fix build so i don't need to change it manually?

Your answer


Register or 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.