Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Download, install and configure Maven

Info
indent
{color:green}Help is available by sending an email to [mailto:

Help is available by sending an email to

csf-support@mit.edu

]{color} {color:green}Have any suggestion on how improve this wiki?  Please give us your feedback at [mailto:


Have any suggestion on how improve this wiki?  Please give us your feedback at csf-support@mit.edu

]{color}

Panel

Quick Links to:

Table of Contents
minLevel4
maxLeve4

...

Panel

Anchor
Configure Maven
Configure Maven

Configure Maven

  1. Download the serverTrustStore.jks and save it to a new folder (e.g. c:\keystores).
  2. To download Maven artifacts from the remote MIT maven repository (https://maven.mit.eduImage Removed), an SSL connection is required.  For Maven to acquire an SSL connection, you must create a system environment variable MAVEN_OPTS and set it as below:

  • For Mac users:  You must set the environmental variable _JAVA_OPTIONS as shown below.
    Code Block
    
    _JAVA_OPTIONS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m
    
  • For Windows users:  You must set the environmental variable MAVEN_OPTS as shown below.
    Code Block
    
    MAVEN_OPTS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m
    

    In the above, replace the /path/to with the actual path to the serverTrustStore.jks and replace XXXXXXXX with the actual serverTrustStore.jks password.  If you don't know the serverTrustStore.jks password, your team leader can get it for you.

    For MAC users:  You can now download a nice plugin that helps you manage your system environmental variables.  The plugin, RCEnvironment, is a preference pane for MacOS X 10.1 or higher that allows editing of your ~/.MacOSX/environment.plist file.
    For Window users:  Go to Start > Control Panel > System > Advanced system settings > Environment Variables... and under System variables, click New and enter the MAVEN_OPTS shown above.