You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using plugin version 3.6.2. It seems the current behavior of maven bom provider does not prioritize local properties when they are defined in the pom alwell. I'm not sure if it is a bug or intended behavior but it is contradictory to a common use case like spring boot.
The maven pom sets the property hibernate.version to 5.0.11.Final in its properties block. The recommendation plugin does consider the local version 5.2.4.Final as the higher priority. The documentation Maven-BOM-Provider on the over hand states properties can be at least supplied via the ext mechanism. And most likely the later ones should take priority.
Regards
Joke
The text was updated successfully, but these errors were encountered:
I have encountered the same problem. I debugged through it and it seems the value sources are used in order - but I'm not completely sure, the maven code is somewhat complicated.
If I'm correct, the order needs to be changed here, so that the project properties come first:
Hi,
I'm using plugin version 3.6.2. It seems the current behavior of maven bom provider does not prioritize local properties when they are defined in the pom alwell. I'm not sure if it is a bug or intended behavior but it is contradictory to a common use case like spring boot.
The maven pom sets the property
hibernate.version
to5.0.11.Final
in its properties block. The recommendation plugin does consider the local version5.2.4.Final
as the higher priority. The documentation Maven-BOM-Provider on the over hand states properties can be at least supplied via the ext mechanism. And most likely the later ones should take priority.Regards
Joke
The text was updated successfully, but these errors were encountered: