Skip to content

Issue to run mvn update properties #1217

Open
@axb897

Description

The versions-maven-plugin is not updating dependency versions in the properties section of the parent POM when the dependency is declared in a child POM. The command used was:

org.codehaus.mojo:versions-maven-plugin:2.18.0:update-properties -DallowSnapshots=false -DgenerateBackupPoms=false -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=true

This command works correctly when the dependency is defined directly in the parent POM, but fails to update the version in the properties section when the dependency is declared in a child POM, even though the version is managed in the parent's properties. This behavior is unexpected. Could you please investigate why the plugin is not updating the parent POM's properties in this scenario?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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