Skip to content

Commit 7bb1c79

Browse files
committed
Set timeouts in profile.
1 parent c4e092a commit 7bb1c79

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,24 @@ private String getMavenSetup() {
279279
</altDeploymentRepository>
280280
</properties>
281281
</profile>
282+
<profile>
283+
<id>global-timeout-settings</id>
284+
<activation>
285+
<activeByDefault>true</activeByDefault>
286+
</activation>
287+
<properties>
288+
<maven.wagon.http.connectionTimeout>1200000</maven.wagon.http.connectionTimeout>
289+
<maven.wagon.http.requestTimeout>1200000</maven.wagon.http.requestTimeout>
290+
<maven.wagon.http.ssl.connectionTimeout>1200000</maven.wagon.http.ssl.connectionTimeout>
291+
<maven.wagon.http.ssl.requestTimeout>1200000</maven.wagon.http.ssl.requestTimeout>
292+
</properties>
293+
</profile>
282294
</profiles>
283295
284296
<activeProfiles>
285297
<activeProfile>secondary</activeProfile>
286298
<activeProfile>local-deployment</activeProfile>
299+
<activeProfile>global-timeout-settings</activeProfile>
287300
</activeProfiles>
288301
289302
<interactiveMode>false</interactiveMode>

0 commit comments

Comments
 (0)