Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent Dependency Version Tracking #3

Open
rbuisson opened this issue Nov 19, 2024 · 0 comments
Open

Parent Dependency Version Tracking #3

rbuisson opened this issue Nov 19, 2024 · 0 comments

Comments

@rbuisson
Copy link
Member

rbuisson commented Nov 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant