לעברית לחצו כאן
To resolve Maven security issues, run the following command at a command prompt with administrator authorization:
setx MAVEN_OPTS "-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT" /m
You will have to set an environment variable in the .profile file of the terminal that you are using.
- For bash, the .profile file will be located in the
bash_profile./~directory or in the
- For zsh (default from Catalina 10.15 and later), the .profile file will be located in the
- For Oh my zsh, the .profile file will be located in the
echo export MAVEN_OPTS="-Djavax.net.ssl.trustStoreType=KeychainStore" >> ~/.zshenv
Then restart the terminal.