Skip to content

Commit dec502d

Browse files
committed
Disable proxy
1 parent b838c80 commit dec502d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

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

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -273,18 +273,11 @@ private String getMavenSetup() {
273273
</altDeploymentRepository>
274274
</properties>
275275
</profile>
276-
<profile>
277-
<id>proxy-enabled</id>
278-
<properties>
279-
<PROXY_ENABLED>false</PROXY_ENABLED>
280-
</properties>
281-
</profile>
282276
</profiles>
283277
284278
<activeProfiles>
285279
<activeProfile>secondary</activeProfile>
286280
<activeProfile>local-deployment</activeProfile>
287-
<activeProfile>proxy-enabled</activeProfile>
288281
</activeProfiles>
289282
290283
<interactiveMode>false</interactiveMode>
@@ -309,7 +302,8 @@ private String getMavenSetup() {
309302
<proxies>
310303
<proxy>
311304
<id>indy-http</id>
312-
<active>${PROXY_ENABLED}</active>
305+
<!-- TODO: Until domain-proxy is implemented disable this - probably needs conditional activation but settings profiles don't support interpolation -->
306+
<active>false</active>
313307
<protocol>http</protocol>
314308
<host>domain-proxy</host>
315309
<port>80</port>
@@ -320,7 +314,7 @@ private String getMavenSetup() {
320314
</proxy>
321315
<proxy>
322316
<id>indy-https</id>
323-
<active>${PROXY_ENABLED}</active>
317+
<active>false</active>
324318
<protocol>https</protocol>
325319
<host>domain-proxy</host>
326320
<port>80</port>

0 commit comments

Comments
 (0)