You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/04 12:32:25 UTC

(maven-clean-plugin) branch master updated: Pass siteMvn as a String so the site stage runs on Maven 4

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-clean-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new ccc9098  Pass siteMvn as a String so the site stage runs on Maven 4
ccc9098 is described below

commit ccc909890d4add277976e7e15bf9cab7c6843d74
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 13:31:12 2026 +0200

    Pass siteMvn as a String so the site stage runs on Maven 4
    
    asfMavenTlpPlgnBuild passes siteMvn straight to doCreateTask, which does
    jenkinsEnv.mvnFromVersion(os, "${maven}"). A Groovy List interpolates to
    the literal "[4.0.x]", which matches no case in mvnFromVersion and falls
    through to "default: return 'maven_3_latest'" - so the site stage silently
    ran on Maven 3. The maven: parameter is unaffected because the shared
    library iterates that list before passing each element.
    
    Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 217636c..3f93093 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-asfMavenTlpPlgnBuild(jdks:[ "17", "21" ], maven: [ "4.0.x" ], siteJdk:[ "17" ], siteMvn:[ "4.0.x" ])
+asfMavenTlpPlgnBuild(jdks:[ "17", "21" ], maven: [ "4.0.x" ], siteJdk:[ "17" ], siteMvn: "4.0.x" )