You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/08/10 07:47:28 UTC

[PR] Pin Maven prerequisite to 3.6.3 instead of ${mvnversion} [maven-dist-tool]

slachiewicz opened a new pull request, #207:
URL: https://github.com/apache/maven-dist-tool/pull/207

   `<prerequisites><maven>` has reused `${mvnversion}` — the same property that sets the `maven-core` dependency versions — since 2013. That property is now `3.9.16`, so the declared Maven baseline has silently drifted upward with the dependency bumps. Every other plugin in the 3.x line declares `3.6.3`.
   
   This pins the literal `3.6.3` so the compile-time dependency and the declared baseline move independently.
   
   **Unlike the sibling PRs, this one changes the declared value**: `3.9.16` → `3.6.3`, while the code still compiles against `maven-core` 3.9.16. That is the same arrangement the rest of the estate uses (compile against current, declare the supported baseline), but it does assume no post-3.6.3 API is in use here — worth a second pair of eyes.
   
   Verified with `mvn help:evaluate -Dexpression=project.prerequisites.maven` → `3.6.3`.
   
   <sub>Drafted with Claude — please verify</sub>
   


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin Maven prerequisite to 3.6.3 instead of ${mvnversion} [maven-dist-tool]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz commented on PR #207:
URL: https://github.com/apache/maven-dist-tool/pull/207#issuecomment-5237344319

   Checked the caveat above rather than leaving it open.
   
   Built the jar as it ships, then linked it against a full Maven **3.6.3** stack (85 jars, resolved with `mvn -Dmvnversion=3.6.3 dependency:build-classpath`):
   
   ```
   jdeps --class-path "$(cat cp363.txt)" -recursive -verbose:class target/classes | grep -i "not found"
   ```
   
   **Zero lines.** Every class dist-tool references resolves on 3.6.3, so nothing post-3.6.3 is in use and the lowered prerequisite is accurate. (Source-level compilation alone would not have proved this — javac can bind to an overload that only exists in the newer jar.)
   
   <sub>Drafted with Claude — please verify</sub>


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Pin Maven prerequisite to 3.6.3 instead of ${mvnversion} [maven-dist-tool]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #207:
URL: https://github.com/apache/maven-dist-tool/pull/207


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org