Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

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 Block
\\

\\
{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*.\\
\\