diff options
author | Ofir Sonsino <os0695@intl.att.com> | 2018-08-12 10:33:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-12 10:33:55 +0000 |
commit | 9152b2ae03c4751b492a219993d85d522c58b383 (patch) | |
tree | e914367884bf4766dd2a0084e254f4c8337f5806 /deliveries/pom.xml | |
parent | 661a24fd57de02869a9771761e0fcba7eb77d121 (diff) | |
parent | 501f9f463a4835c4baf625c12127680fa67dc7f3 (diff) |
Merge "Add transparent proxy support"
Diffstat (limited to 'deliveries/pom.xml')
-rwxr-xr-x | deliveries/pom.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deliveries/pom.xml b/deliveries/pom.xml index b047e2de..ef35eecc 100755 --- a/deliveries/pom.xml +++ b/deliveries/pom.xml @@ -21,6 +21,23 @@ <docker.verbose>true</docker.verbose>
</properties>
+ <profiles>
+
+ <profile>
+ <id>docker-proxy</id>
+ <!-- activate profile if environment variable `http_proxy` is set -->
+ <activation>
+ <property>
+ <name>env.http_proxy</name>
+ </property>
+ </activation>
+ <properties>
+ <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
+ </properties>
+ </profile>
+
+ </profiles>
+
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
|