Failed to send mvn: prepare, server certificate failed verification

I am trying to run mvn release:prepare release:performin a project that previously worked on several cases without problems, however I see the following output:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.937s
[INFO] Finished at: Thu Aug 23 15:06:01 BST 2012
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on project my-project: Unable to tag SCM
[ERROR] Provider message:
[ERROR] The svn tag command failed.
[ERROR] Command output:
[ERROR] svn: OPTIONS of 'https://<svn url here>': Server certificate verification failed: certificate has expired, issuer is not trusted (https://<svn url here>)

I have included the following ~/.scm/svn-settings.xmlas a recommendation here

<svn-settings>
  <trustServerCert>true</trustServerCert>
</svn-settings>

It then includes a command line parameter --trust-server-certfor the svn tag.

This behavior occurs on both the Mac and the Windows machine, both run maven 3.0.4.

Any pointers on how I can solve this? Is a server certificate reissued?

thank

+5
source share
1 answer

. 1.478 Jenkins centos, , centos.

maven-release-plugin .scm/svn-settings.xml, , .

, ( ), , jenkins. . , , .

+1

All Articles