Actions
How to connect to Nexus¶
By default, your local maven instance will download the required artifact from public maven repositories. This guides will make your maven to download all artifacts from the local Nexus instance.
- download the settings.xml and overwrite the one in your maven data folder:
Windows XP: c:/Documents and Settings/<<username>>/.m2/settings.xml Windows Vista or 7: c:/Users/<<username>>/.m2/settings.xml
- edit settings.xml and replace the USER_NAME and PASSWORD with your Nexus a/c (see Add Nexus User):
<server> <id>snapshots</id> <username>USER_NAME</username> <password>PASSWORD</password> </server> <server> <id>releases</id> <username>USER_NAME</username> <password>PASSWORD</password> </server>
- save the file
- done
Updated by chin-yeh over 13 years ago · 3 revisions