JAVA-49: Renamed proxy to maven-proxy and moved to maven-modules
This commit is contained in:
parent
33e15c0a63
commit
3d1290bec6
|
@ -0,0 +1,3 @@
|
||||||
|
### Relevant Articles:
|
||||||
|
|
||||||
|
- [Using Maven Behind a Proxy](https://www.baeldung.com/maven-behind-proxy)
|
|
@ -0,0 +1,43 @@
|
||||||
|
<!-- start of settings.xml here -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Proxies section (extract of settings.xml) containing example proxy definitions:
|
||||||
|
* BaeldungProxy_Encrypted - an example http proxy with an encrypted password - encrypted using 'mvn --encrypt-password'
|
||||||
|
* BaeldungProxy_Authenticated - an example http proxy with a plain text password.
|
||||||
|
* BaeldungProxy - an example minimalist unauthenticated http proxy
|
||||||
|
All of these are 'active' - so maven will use the first one in the list.
|
||||||
|
-->
|
||||||
|
<proxies>
|
||||||
|
|
||||||
|
<proxy>
|
||||||
|
<id>BaeldungProxy_Encrypted</id>
|
||||||
|
<active>true</active>
|
||||||
|
<protocol>http</protocol>
|
||||||
|
<host>proxy.baeldung.com</host>
|
||||||
|
<port>80</port>
|
||||||
|
<username>baeldung</username>
|
||||||
|
<password>{U2iMf+7aJXQHRquuQq6MX+n7GOeh97zB9/4e7kkEQYs=}</password>
|
||||||
|
<nonProxyHosts>internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts>
|
||||||
|
</proxy>
|
||||||
|
|
||||||
|
<proxy>
|
||||||
|
<id>BaeldungProxy_Authenticated</id>
|
||||||
|
<active>true</active>
|
||||||
|
<protocol>http</protocol>
|
||||||
|
<host>proxy.baeldung.com</host>
|
||||||
|
<port>80</port>
|
||||||
|
<username>baeldung</username>
|
||||||
|
<password>changeme</password>
|
||||||
|
<nonProxyHosts>internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts>
|
||||||
|
</proxy>
|
||||||
|
|
||||||
|
<proxy>
|
||||||
|
<id>BaeldungProxy</id>
|
||||||
|
<host>proxy.baeldung.com</host>
|
||||||
|
<port>80</port>
|
||||||
|
<nonProxyHosts>internal.baeldung.com|localhost|127.*|[::1]</nonProxyHosts>
|
||||||
|
</proxy>
|
||||||
|
|
||||||
|
</proxies>
|
||||||
|
|
||||||
|
<!-- rest of settings.xml here -->
|
|
@ -0,0 +1,6 @@
|
||||||
|
<!--
|
||||||
|
Redirect maven to settings-security.xml stored elsewhere:
|
||||||
|
-->
|
||||||
|
<settingsSecurity>
|
||||||
|
<relocation>R:\config\settings-security.xml</relocation>
|
||||||
|
</settingsSecurity>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<!--
|
||||||
|
Encrypt master password with:
|
||||||
|
mvn --encrypt-master-password
|
||||||
|
-->
|
||||||
|
<settingsSecurity>
|
||||||
|
<master>{QFMlh/6WjF8H9po9UD\}0Nv18e527jqWb6mUgIB798n4=}</master>
|
||||||
|
</settingsSecurity>
|
Loading…
Reference in New Issue