File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!-- start of settings.xml here -->
2+
3+ <!--
4+ Proxies section (extract of settings.xml) containing example proxy definitions:
5+ * BaeldungProxy_Encrypted - an example http proxy with an encrypted password - encrypted using 'mvn --encrypt-password'
6+ * BaeldungProxy_Authenticated - an example http proxy with a plain text password.
7+ * BaeldungProxy - an example minimalist unauthenticated http proxy
8+ All of these are 'active' - so maven will use the first one in the list.
9+ -->
10+ <proxies >
11+
12+ <proxy >
13+ <id >BaeldungProxy_Encrypted</id >
14+ <active >true</active >
15+ <protocol >http</protocol >
16+ <host >proxy.baeldung.com</host >
17+ <port >80</port >
18+ <username >baeldung</username >
19+ <password >{U2iMf+7aJXQHRquuQq6MX+n7GOeh97zB9/4e7kkEQYs=}</password >
20+ <nonProxyHosts >internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts >
21+ </proxy >
22+
23+ <proxy >
24+ <id >BaeldungProxy_Authenticated</id >
25+ <active >true</active >
26+ <protocol >http</protocol >
27+ <host >proxy.baeldung.com</host >
28+ <port >80</port >
29+ <username >baeldung</username >
30+ <password >changeme</password >
31+ <nonProxyHosts >internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts >
32+ </proxy >
33+
34+ <proxy >
35+ <id >BaeldungProxy</id >
36+ <host >proxy.baeldung.com</host >
37+ <port >80</port >
38+ <nonProxyHosts >internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts >
39+ </proxy >
40+
41+ </proxies >
42+
43+ <!-- rest of settings.xml here -->
Original file line number Diff line number Diff line change 1+ <!--
2+ Redirect maven to settings-security.xml stored elsewhere:
3+ -->
4+ <settingsSecurity >
5+ <relocation >R:\config\settings-security.xml</relocation >
6+ </settingsSecurity >
Original file line number Diff line number Diff line change 1+ <!--
2+ Encrypt master password with:
3+ mvn --encrypt-master-password
4+ -->
5+ <settingsSecurity >
6+ <master >{QFMlh/6WjF8H9po9UD\}0Nv18e527jqWb6mUgIB798n4=}</master >
7+ </settingsSecurity >
You can’t perform that action at this time.
0 commit comments