Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

PREREQUISITES

Panel

Before you begin, you must have the following:

indent
1
1
* 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

Panel
Wiki Markup
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"*).\\

\\
{code}
  MAVEN_OPTS="$MAVEN_OPTS -Djavax.net.ssl.trustStore=pathTo/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword=XXXXXX"
{code}
You can now access the Maven repositories using *https*.\\
\\