Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

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
  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.