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/06/23 13:37:58 UTC

[camel] 17/18: Workaround INFRA-24713 in the deploy script rather than for all possible builds

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

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 576e47727626a0ae635a64454054ed65a738ec2a
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Jun 23 13:56:43 2023 +0200

    Workaround INFRA-24713 in the deploy script rather than for all possible builds
---
 .mvn/wrapper/maven-wrapper.properties | 2 +-
 Jenkinsfile.deploy                    | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index 70f4f50fc39..3c6fda8c6e4 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -14,5 +14,5 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.8/apache-maven-3.8.8-bin.zip
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip
 wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index d30ac9c0965..376a5ba63a7 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -66,6 +66,10 @@ pipeline {
                 }
             }
             steps {
+                // Workaround https://issues.apache.org/jira/browse/INFRA-24713
+                def text = readFile ".mvn/wrapper/maven-wrapper.properties"
+                text.replaceAll("distributionUrl=.*", "https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.8/apache-maven-3.8.8-bin.zip")
+
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dmaven.test.skip.exec=true clean deploy"
             }
         }