Installation of certificate for Maven: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
(יצירת דף עם התוכן "{{En|התקנת תעודה עבור maven}} {{Navigation|Security_certificate}} To resolve Maven security issues, run the following command at a command prompt...") |
מ (fix: use {{he}} for link to hebrew page instead of {{en}} (דרך WP:JWB)) |
||
| (2 גרסאות ביניים של 2 משתמשים אינן מוצגות) | |||
| שורה 1: | שורה 1: | ||
| − | {{ | + | {{he|התקנת תעודה עבור maven}} |
{{Navigation|Security_certificate}} | {{Navigation|Security_certificate}} | ||
| − | To resolve Maven security issues, run the following command at a command prompt with administrator | + | === On Windows: === |
| + | |||
| + | 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 | setx MAVEN_OPTS "-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT" /m | ||
| + | |||
| + | === Om MAC === | ||
| + | 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 <code>bash_profile./~</code> directory or in the <code>bashrc./~</code> directory | ||
| + | |||
| + | *For '''zsh''' (default from Catalina 10.15 and later), the .profile file will be located in the <code>zshenv./~</code> directory | ||
| + | |||
| + | *For '''Oh my zsh''', the .profile file will be located in the <code>zshrc./~</code> directory | ||
| + | |||
| + | echo export MAVEN_OPTS="-Djavax.net.ssl.trustStoreType=KeychainStore" >> ~/.zshenv | ||
| + | |||
| + | Then restart the terminal. | ||
גרסה אחרונה מ־04:12, 17 באוגוסט 2023
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security_certificate > Installation of certificate for Maven
On Windows:
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
Om MAC
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 thebashrc./~directory
- For zsh (default from Catalina 10.15 and later), the .profile file will be located in the
zshenv./~directory
- For Oh my zsh, the .profile file will be located in the
zshrc./~directory
echo export MAVEN_OPTS="-Djavax.net.ssl.trustStoreType=KeychainStore" >> ~/.zshenv
Then restart the terminal.