Merge pull request #8331 from rojyates/feature/BAEL-3515-maven-proxy-settings
Feature/bael 3515 maven proxy settings
This commit is contained in:
commit
4c9417cff1
43
maven-all/maven/proxy/settings.xml
Normal file
43
maven-all/maven/proxy/settings.xml
Normal file
@ -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 -->
|
6
maven-all/maven/security/redirect/settings-security.xml
Normal file
6
maven-all/maven/security/redirect/settings-security.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<!--
|
||||||
|
Redirect maven to settings-security.xml stored elsewhere:
|
||||||
|
-->
|
||||||
|
<settingsSecurity>
|
||||||
|
<relocation>R:\config\settings-security.xml</relocation>
|
||||||
|
</settingsSecurity>
|
7
maven-all/maven/security/settings-security.xml
Normal file
7
maven-all/maven/security/settings-security.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<!--
|
||||||
|
Encrypt master password with:
|
||||||
|
mvn --encrypt-master-password
|
||||||
|
-->
|
||||||
|
<settingsSecurity>
|
||||||
|
<master>{QFMlh/6WjF8H9po9UD\}0Nv18e527jqWb6mUgIB798n4=}</master>
|
||||||
|
</settingsSecurity>
|
Loading…
x
Reference in New Issue
Block a user