Skip to content

versions-maven-plugin:display-plugin-updates does not show updates for plugin in pluginManagement #1239

@pdeneve

Description

@pdeneve

As requested in apache/maven-xinclude-extension#19, I'm creating the issue in the versions-maven-plugin repo.

When there's an update available vor a plugin for which it's version is managed in pluginManagement, versions-maven-plugin:display-plugin-updates does not show the available update.

To reproduce:

git clone https://gitlab.com/philippedn/jptb.git
cd jptb
sed -i 's/3\.8\.1/3.8.0/' plugin-management.xml # will downgrade maven-dependency-plugin from 3.8.1 to 3.8.0
sed -i 's/3\.4\.1/3.5.0/' plugin-management.xml # see https://github.com/mojohaus/versions/issues/1239#issuecomment-3263826152
./mvnw versions:display-plugin-updates

This will output:

...
[INFO] All plugins with a version specified are using the latest versions.
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions