...
Info |
---|
Help is available by sending an email to csf-support@mit.edu |
Panel | |||||||
---|---|---|---|---|---|---|---|
|
Panel | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Download and Install Maven
|
Panel | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Anchor | | Configure Maven | Configure Maven |
(e.g. c:\keystores). |
# To download Maven artifacts from the remote MIT maven repository (https://maven.mit.edu |
![](/confluence/images/icons/linkext7.gif)
), an SSL connection is required. |
For Mac users: You must set the environmental variable _JAVA_OPTIONS as shown below.
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} _JAVA_OPTIONS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m |
{code} * *For Windows users:* You must set the environmental variable *MAVEN_OPTS* as shown below. {code} MAVEN_OPTS=-Djavax.net.ssl.trustStore=/path/to/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXXXX" -Xmx512m -Xms512m -XX:MaxPermSize=512m {code} \\ |
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
\\ \\ *For MAC users*: You can now [download a nice plugin | Install the Oracle OC4J 10.1.3.5 standalone server^RCEnvironment-1.4.X.dmg] 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. |