slachiewicz opened a new pull request, #12677:
URL: https://github.com/apache/maven/pull/12677

   Jenkins already provisions Maven with the wrapper for the build itself, but 
the deploy step still ran the `mvn` from the `maven_3_latest` Jenkins tool — so 
a release was published by a different Maven than the one that built it. 
`mavenBuild` runs first in the same workspace, so `./mvnw` is present by the 
time deploy runs.
   
   Also moves the wrapper provisioning to `maven-wrapper-plugin` 3.3.4 and 
Maven 3.9.12, matching what `.github/workflows/maven.yml` already uses. Both 
are on Central (verified).
   
   Same pattern as apache/maven-jenkins-lib#22, which applies it to the shared 
library. Part of apache/maven#12676.
   
   Only `maven-4.0.x` for now — happy to open the companion for `master` if 
this looks right.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to