-
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
update-properties goal ignores a property if it's also used in configuration (?) #1200
Comments
You can reproduce it on this project mrp.tar.gz |
The plugin is also missing |
So it seems that using a property as dependency version and also using it as:
|
I have briefly looked at the code and I think the same applies to display-property-updates, set-property, property-updates-report. Also, build extensions are also not scanned for properties (unless an extension also happens to be a plugin). |
This may happen: goals do not yet share the same backend operations to retrieve data, unfortunately. |
The report shows there are new versions:
but the update-properties goal doesn't even consider the
dagger.version
property:display-property-updates
also ignores it:The property is defined in the same way as the jooq.version that is processed correctly.
what is the reason? How can I make the
update-properties
goal update it.I'm using a property to keep the version, because you can't manage plugin dependencies via
dependencyManagement
(and you need to add dagger to your compiler plugin).The difference between
dagger.version
andjooq.version
is that I usedagger.version
to set regular dependency version and in configuration of kotlin-maven-plugin; I usejooq.version
to set regular and plugin versions.Could using the property in configuration of plugin be the reason that versions is ignoring it?
The text was updated successfully, but these errors were encountered: