Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Steps to configure a local repository on Linux (Ex.: Nexus)
- 1. If not exists, create a folder /home/user/.m2, and copy this settings.xml and settings-security.xml.
- 2. Run the command for generate password for settings.xml:
- ```mvn --encrypt-password <maven-local-repo-password>```
- Copy the generated hash (with {}) and paste on settings.xml (/servers/server/password)
- 3. Run the command for generate password to settings-security.xml:
- ```mvn --encrypt-master-password <maven-local-repo-password>```
- Copy the generated hash (with {}) and paste on settings-security.xml (/settingsSecurity/master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement