Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
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
languagexml
<settingsSecurity>
  <master>{jSMOWnoPFgsHVpMvz5VrIt5kRbzGpI8u+9EF1iFQyJQ=}<<master>ENCRYPTEDPASSWORD</master>
</settingsSecurity>

...

Code Block
languagebash
touch ~/.m2/settings.xml && mvn --encrypt-password <apache-password>
  • Paste the encrypted password for use in  apache snapshot and staging in `~/.m2/settings.xml`.

...