You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

PREREQUISITES

Before you begin, you must have the following:

  • a trusted server Java keystore.

    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:

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


You can now access the Maven repositories via https.

  • No labels