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

maven scm plugin bug with flat structure

 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]
	

1

1 vote



One answer

Permanent link
 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.

0 votes

Comments

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

Question asked: Jun 30 '14, 8:06 a.m.

Question was seen: 6,345 times

Last updated: Sep 12 '14, 10:20 a.m.

Confirmation Cancel Confirm