Maven Release Plugin Configuration issue?

498 views
Skip to first unread message

Yaron Benjamin

unread,
Jan 13, 2017, 5:00:45 PM1/13/17
to Jenkins Users
Hello All,

I am having an issue trying to get my Jenkins job to use the Maven Release Plugin Plugin (M2 Release Plugin). When I run the job I get the following:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.097 s
[INFO] Finished at: 2017-01-13T19:45:29+00:00
[INFO] Final Memory: 20M/278M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project moen: Unable to check for local modifications
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] /bin/sh: svn: command not found
[ERROR] -> [Help 1]
[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: 

What is odd is I am not using SVN at all I am using git - 
I have git installed on the Jenkins box and I have confirmed i can connect with no issues - and I am able to properly tag builds on other jobs so I am not sure its a git connection issue.

In my Parent pom i have the SCM taged

<scm>

 <connection>scm:git:git@git.....git</connection>

 <url>scm:git:git@git...git</url>

 <developerConnection>scm:git:git@git.....git</developerConnection>

</scm>


My configuration is pretty normal - Has anyone ever seen this before?



Indra Gunawan (ingunawa)

unread,
Jan 13, 2017, 5:08:08 PM1/13/17
to jenkins...@googlegroups.com

Look up your component pom.xml, or parent pom if the maven-release-plugin is defined with dependency on SVN related plugin like “com.google.code.maven-scm-provider-svnjava”

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bbba792d-d434-40eb-b0cd-19f2b8f3fb24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages