Maven2 settings.xml is located in ~/.m2/settings.xml and looks like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>someid</id> <username>someuser</username> <password>somesecret</password> <configuration></configuration> </server> </servers> </settings> |