Bump default maven-dependency-plugin to 3.11.0#12180
Conversation
Update the Maven 3.9.x Super POM default for maven-dependency-plugin so short-prefix invocations can use newer dependency plugin goals by default. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
But please do this for |
We have drop it from super pom 😄 in 3.10.x By the way each project should manage version of used plugins |
|
Clarification after checking the newer maintenance branches: this change is specific to Maven 3.9.x. The maven-3.10.x branch no longer carries these default plugin versions in the Super POM, so there is no corresponding Super POM entry for maven-dependency-plugin to update there. With Maven 3.10.x, the short form |
|
in 3.9 you can also use short version of calling plugin |
|
Yup, I totally forgot the attic cleanup. All good! |
@slawekjaranowski is this specific to 3.9.x or is it supported in older versions as well? |
|
Ok, I tested and |
Summary
Bumps the Maven 3.9.x Super POM default for
maven-dependency-pluginfrom3.7.0to3.11.0.Rationale
The current default resolves short-prefix invocations such as
mvn dependency:addtomaven-dependency-plugin:3.7.0. Newer dependency plugin goals, includingdependency:add, require a newer plugin version, so updating the Super POM default allows the short-form invocation to work without requiring users to spell out the fully qualified plugin coordinate.Testing
git diff --checkmvn -q -pl maven-model-builder -am -DskipTests packageChecklist
mvn verifyor an appropriate targeted build.