Skip to content

Commit ecb62e7

Browse files
committed
Tidy up.
1 parent 645d993 commit ecb62e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public void run() {
9191
export https_proxy=${http_proxy}
9292
export HTTP_PROXY=${http_proxy}
9393
export HTTPS_PROXY=${http_proxy}
94+
export ANT_OPTS="-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8080"
9495
#fix this when we no longer need to run as root
9596
export HOME=${HOME:=/root}
9697
# Custom base working directory.
@@ -389,7 +390,6 @@ private String getAntSetup() {
389390
<property name="cache-url" value="${PROXY_URL}"/>
390391
<property name="default-pattern" value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"/>
391392
<property name="local-pattern" value="\\${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"/>
392-
<property name="ivy.autoproxy" value="true" />
393393
<settings defaultResolver="defaultChain"/>
394394
<resolvers>
395395
<ibiblio name="default" root="\\${cache-url}" pattern="\\${default-pattern}" m2compatible="true"/>

0 commit comments

Comments
 (0)