mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/maven/templates/maven.xml.j2
Normal file
15
roles/maven/templates/maven.xml.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
<settings>
|
||||
{% if system_proxy is defined and system_proxy != '' %}
|
||||
<proxies>
|
||||
<proxy>
|
||||
<active>true</active>
|
||||
<protocol>http</protocol>
|
||||
<host>{{ system_proxy | urlsplit('hostname') }}</host>
|
||||
<port>{{ system_proxy | urlsplit('port') }}</port>
|
||||
{% if system_proxy_no_proxy is defined and system_proxy_no_proxy | length > 0 %}
|
||||
<nonProxyHosts>{{ system_proxy_no_proxy | join('|') }}</nonProxyHosts>
|
||||
{% endif %}
|
||||
</proxy>
|
||||
</proxies>
|
||||
{% endif %}
|
||||
</settings>
|
6
roles/maven/templates/profile.sh.j2
Normal file
6
roles/maven/templates/profile.sh.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
export JAVA_HOME=/usr/lib/jvm/jre-openjdk
|
||||
export M2_HOME={{ mvn_root_dir }}/apache-maven
|
||||
export MAVEN_HOME={{ mvn_root_dir }}/apache-maven
|
||||
export PATH=${M2_HOME}/bin:${PATH}
|
Reference in New Issue
Block a user