PREREQUISITES

Before you begin, you must have the following:

${renderedContent}

Need a Trusted Server Java keystore?  Here are instructions on how to create a trusted server Java keystore.

Define The MAVEN_OPTS environmental variable

To configure Maven to use Java keystores with Mac OS X, you need to modify .mavenrc in your home directory and add the environment variable MAVEN_OPTS (making the appropriate adjustment for pathTo/serverTrustStore.jks and the password "XXXXXX").


  MAVEN_OPTS="$MAVEN_OPTS -Djavax.net.ssl.trustStore=pathTo/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword=XXXXXX"

You can now access the Maven repositories using https.

  • No labels