Starting from the Windows Task Bar goto:
indent |
---|
| *start->Control Panel->System->Advanced->Environment Variables* |
and a dialog, similar to the one below, will be displayed:
![](/confluence/download/attachments/43459437/SystemPropertiesForWindows.jpg?version=1&modificationDate=1245877922000&api=v2)
Under System variables, click the New button and the following dialog will be display:
![](/confluence/download/attachments/43459437/NewEmptySystemVariableForWindows.jpg?version=1&modificationDate=1245877922000&api=v2)
Enter the following: Variable name:
indent |
---|
| Variable name: *MAVEN_OPTS |
Variable *-Djavax.net.ssl.trustStore=/path/to/the/serverTrustStore.jks -Djavax.net.ssl.trustStorePassword="XXXXXX"* |
making the appropriate adjustment for /path/to/the/serverTrustStore.jks and the password "XXXXXX".
![](/confluence/download/attachments/43459437/NewSystemVariableForWindows.jpg?version=1&modificationDate=1245877922000&api=v2)
When satisfied that everything is correct, click the OK button.
When the Environmental Variables dialog re-appears, click the OK button.
Finally, you must reboot your workstation.
|