This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 9f1f3a7604a INFRA-24713: work-around Maven version 9f1f3a7604a is described below commit 9f1f3a7604a589e72df8690e523f268ad262fa83 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Sat Jun 24 07:46:34 2023 +0200 INFRA-24713: work-around Maven version Use in place replacement for a temporary adjustment of the Maven version used for deployment --- Jenkinsfile.deploy | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy index e0dfa3d3693..62e9dd070e6 100644 --- a/Jenkinsfile.deploy +++ b/Jenkinsfile.deploy @@ -66,12 +66,8 @@ pipeline { } } steps { - script { - // 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") - } - + // Work-around for https://issues.apache.org/jira/browse/INFRA-24713 + sh 'sed -e "s/3.9.2/3.8.8/g" .mvn/wrapper/maven-wrapper.properties' sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dmaven.test.skip.exec=true clean deploy" } }