You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2023/05/01 07:27:47 UTC

[camel-quarkus] 04/12: Fix maven connection time out (#4740)

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch 2.13.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit f77512ceade3024296d28efc6c490fbbb39302fe
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Apr 6 17:19:30 2023 +0800

    Fix maven connection time out (#4740)
---
 .github/workflows/camel-master-cron.yaml   | 2 +-
 .github/workflows/ci-build.yaml            | 2 +-
 .github/workflows/pr-validate.yml          | 2 +-
 .github/workflows/quarkus-master-cron.yaml | 2 +-
 .mvn/maven.config                          | 3 ---
 5 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml
index 08a9114344..cfff884f67 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -25,7 +25,7 @@ on:
 env:
   LANG: en_US.UTF-8
   MAVEN_OPTS: -Xmx3000m
-  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -e
+  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -e
   TESTCONTAINERS_RYUK_DISABLED: true
   ISSUE_ID: 2927
 
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 92d3058873..47b6aec821 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -52,7 +52,7 @@ concurrency:
 env:
   LANG: en_US.UTF-8
   MAVEN_OPTS: -Xmx3000m
-  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -e
+  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -e
   TESTCONTAINERS_RYUK_DISABLED: true
 
 jobs:
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index 2034a657fb..57c6b218c1 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -38,7 +38,7 @@ concurrency:
 env:
   LANG: en_US
   MAVEN_OPTS: -Xmx3000m
-  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -e
+  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -e
 
 jobs:
   check-format:
diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml
index e998b25a5a..7be8b0e68d 100644
--- a/.github/workflows/quarkus-master-cron.yaml
+++ b/.github/workflows/quarkus-master-cron.yaml
@@ -25,7 +25,7 @@ on:
 env:
   LANG: en_US.UTF-8
   MAVEN_OPTS: -Xmx3000m
-  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -e
+  CQ_MAVEN_ARGS: -V -ntp -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -e
   TESTCONTAINERS_RYUK_DISABLED: true
   ISSUE_ID: 2926
 
diff --git a/.mvn/maven.config b/.mvn/maven.config
deleted file mode 100644
index 4230c24172..0000000000
--- a/.mvn/maven.config
+++ /dev/null
@@ -1,3 +0,0 @@
--Dmaven.wagon.httpconnectionManager.ttlSeconds=120
--Dmaven.wagon.http.retryHandler.requestSentEnabled=true
--Dmaven.wagon.http.retryHandler.count=10