-
Notifications
You must be signed in to change notification settings - Fork 267
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
Inconsistency between dependency-updates and property-updates #872
Comments
Confirmed. The parameter is indeed not passed to ArtifactVersions.includeSnashots |
@slawekjaranowski looks like it's going to be a sizeable update. Luckily the change is simple and it should be easy to review. The reason is ArtifactVersions.includeSnapshots, which is used for reports, which is often assumed as true/false, depending on the mojo, and often forgotten. Also, method overloading with wrong assumptions about the default argument values. So, I've cleaned it up a bit, removed I haven't checked if it's a fresh regression, but I suspect it has been there for quite some time, maybe even since the beginning of some of the mojos. |
@javier-godoy thanks for the report. |
If it looks as a bigger update, I would like to postpone after next bug fix release. @ajarmoniuk - You wrote, that you have done, so please create PR - we will see how big is. |
Yes, just doing all the needful checks first. |
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…okupDependencyUpdates and in reports
…ndencyUpdates and in reports
Even if
allowSnapshots
is true,display-dependency-updates
only detects newer dependencies up to the last release (even if there are newer snapshots), whiledisplay-property-updates
is able to report the newer snapshotsFor instance, if the "Snapshots" repository has com.example:foo:2.9.1-SNAPSHOT and 2.9.2-SNAPSHOT and the "Releases" repository has version 2.9.1, I get
The text was updated successfully, but these errors were encountered: