SCM URL could not be found: No such provider: 'jazz'
Trying to run Maven Release build using the Maven Release plugin in Jenkins fails with this message:
*****
[ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException *****
Any help? Works fine for other Jenkins jobs for different projects.
Here is the pom.xml entry:
****
This is the exact entry in rest of the projects:
The repository workspace is:
Buildeng_FIT.MCCR_RWSService-risk-common-lib-ITECJenkins
RTC 5.0.2
Maven build
Build server is a Linux box.
Thank you
|
Accepted answer
You didn't mention the Maven SCM Jazz Provider, so the first question for you would be, are you using it at all? You will need it to work with Jazz SCM.
https://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-jazz/index.html Sumant Renukarya selected this answer as the correct answer
Comments
Sumant Renukarya
commented Apr 20 '16, 11:16 p.m.
Hi Donald
How are you?
Can you please elaborate what you mean by "You didn't mention the Maven SCM Jazz Provider"?
Like I said, we are able to use this Jenkins plugin to run Maven release builds with RTC just fine for the rest of the projects - all use same settings.xml, pom.xml has the similar entry as above for scm (except the repo workspace changes for each). There is no additional entry for SCM/Jazz in either the pom.xml or the settings.xml file.
Thanks
|
One other answer
Sorry, spoke too soon. This project had an upstream build project where the maven scm plugin should have been defined but was missing. This was the problem.
I just need to update the pom.xml for this upstream build project with the maven scm plugin:
*****
*****
Thanks Donald.
|
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.