Hi Robert,

Yes you were right, I had failed to read the instructions. I followed the instructions on:
http://docs.codehaus.org/display/HAUSMATES/Installing+a+new+CA+into+the+JDK
Installing the StartSSL CA into the Java JDK as non-root section and ran into no issues with it. I believe you were right in that I did import it, however I imported it as root instead of my other username instead.

Thanks again,
Steve.

On 07/05/2013 10:57 AM, Robert Scholte wrote:
Hi Steve,

if you had to google for it, you hadn't followed all the steps described for a release[1]
Be sure to do it precise, some steps only have to be done once.

The message is quite clear, it seems like the certificates aren't imported or in a different keystore. I've been able to import them as specified by the first option: Installing the StartSSL CA into the Java JDK
I haven't tried the second, which is not required anymore.

The mojo project also has a keytool plugin[2], maybe that can help.

Robert

[1] http://mojo.codehaus.org/development/performing-a-release.html
[2] http://mojo.codehaus.org/keytool/keytool-maven-plugin/

On Fri, 05 Jul 2013 17:29:33 +0200, Steven Christou <schristo...@gmail.com> wrote:

Hello,

I am trying to perform a release of the cobertura maven plugin version
2.6, however whenever I execute the command:
mvn release:perform -username=schristou88
I get the following exception:
  [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
on project cobertura-maven-plugin: Failed to deploy artifacts: Could not
transfer artifact org.codehaus.mojo:cobertura-maven-plugin:jar:2.6
from/to codehaus-nexus-staging
(https://nexus.codehaus.org/service/local/staging/deploy/maven2/):
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target -> [Help 1]

After doing some searching on the internet it suggests that I never
installed the CA for codehaus. I followed the tutorial on
https://docs.codehaus.org/display/HAUSMATES/Installing+a+new+CA+into+the+JDK
to install the StartSSL-CA and StartSSL-Intermediate. I do see that a
jssecacerts file is created in the $JAVA_HOME/jre/lib/security folder. I
also added the following arguments to my MAVEN_OPTS:
schristou88@schristou88:~/cobertura/cobertura-maven-plugin$ export
MAVEN_OPTS="-Djavax.net.ssl.keyStore=$KEYSTORE \
     -Djavax.net.ssl.keyStorePassword=changeit \
     -Djavax.net.ssl.trustStore=$KEYSTORE \
     -Djavax.net.ssl.trustStorePassword=changeit"

but still no luck.

Thanks,
Steve.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply via email to