Skip to content

Parent Dependency Version Tracking #3

Description

@rbuisson

As a user of the dependency-tracker-maven-plugin, I want to monitor version changes in parent declaration of Maven projects, in addition to the existing dependencies tracking, so that I can have a comprehensive view of all dependency updates affecting my project.

Acceptance Criteria

  • The plugin should detect and track version changes in the declaration of Maven projects.
  • When a parent version change is detected, it should be reported alongside other dependency changes.
  • Users should be able to configure whether they want to track parent version changes or not through a configuration option, that would default to true.
  • The plugin should handle projects with no parent declaration gracefully, without throwing errors.
  • The documentation should be updated to reflect the new parent version tracking feature, including usage instructions and configuration options.
  • The plugin should maintain backwards compatibility with previous versions.

Out of Scope

  • Tracking changes of the dependencies of the parent itself.

Technical Notes

Implement a new method to extract and compare parent versions from pom.xml files.
Modify the existing reporting mechanism (dependency report file) to include parent version changes.
Add a new configuration parameter (e.g., trackParentVersion) to enable/disable this feature, enabled by default.
Update unit tests to cover the new functionality.

Activity

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

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