-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] Does not work if dependencies are snapshots #145
Comments
Hi @alerosmile, thanks for reporting this issue. I've added a dependency with SNAPSHOT version to the project json_should_be_correct. This project is used by DepClean for integration test. I checked the Can you provide more context on this issue or give an example of a project for which DepClean produces an incorrect |
Hi @alerosmile, Please install the latest version of Depclean:
Then run DepClean on your project as follows:
Let me know if the generated file |
ping @alerosmile |
Hi @cesarsotovalero, Sorry for the late response. The bugfix works, but it was reverted in 462bca1.
For this to reproduce you have to make sure that the maven-javadoc-plugin from my example above is actually used (adding I'm not sure about |
Describe the bug
Snapshot dependencies are missing from the JSON report. This is probably due to the difference between Artifact.getVersion() and Artifact.getBaseVersion(). depclean uses Artifact.getVersion() but that doesn't match the output of mvn dependency:tree which uses Artifact.getBaseVersion().
Expected behavior
Snapshot dependencies should be included in the JSON report.
The text was updated successfully, but these errors were encountered: