Skip to content

Commit d2e8c18

Browse files
committed
Try setting proxy host in ivysettings.
1 parent 84c7e25 commit d2e8c18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,9 @@ private String getAntSetup() {
412412
<property name="local-pattern" value="\\${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"/>
413413
<settings defaultResolver="defaultChain"/>
414414
<resolvers>
415-
<ibiblio name="default" root="\\${cache-url}" pattern="\\${default-pattern}" m2compatible="true"/>
415+
<ibiblio name="default" root="\\${cache-url}" pattern="\\${default-pattern}" m2compatible="true">
416+
<proxy host="localhost" port="8080" />
417+
</ibiblio>
416418
<filesystem name="local" m2compatible="true">
417419
<artifact pattern="\\${local-pattern}"/>
418420
<ivy pattern="\\${local-pattern}"/>

0 commit comments

Comments
 (0)