THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
touch ~/.m2/settings-security.xml &&
mvn --encrypt-master-password <password> |
- paste the encrypted master-password you get from above in `~/.m2/settings-security.xml`
Code Block | ||
---|---|---|
| ||
<settingsSecurity> <master>{jSMOWnoPFgsHVpMvz5VrIt5kRbzGpI8u+9EF1iFQyJQ=}<<master>ENCRYPTEDPASSWORD</master> </settingsSecurity> |
...
Code Block | ||
---|---|---|
| ||
touch ~/.m2/settings.xml && mvn --encrypt-password <apache-password> |
- Paste the encrypted password for use in apache snapshot and staging in `~/.m2/settings.xml`.
...