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
Hi @rupebac thank you for the feedback. The reason why alignment rules support includes is that they are conceptually slightly different. One alignment rule is expected to operate on a group of dependencies. The proposal for substitution is just a convenience for easier declaration of multiple rules affecting independent dependencies. You can add all substitution rules into a single file like:
We don't have a big burden with such notation. That said we are not going to implement any time soon. If you are willing to contribute we are open to PRs.
I am surprised that there is no rule type to simply force a specific version of a transitive dependency. I know I can achieve this with:
but, it looks a bit not straight forward, why do I have to specify the GAV coordinate twice when I simply want to force 2.1.2 there?
Also, I would like to propose another feature. In align rules you have the attribute "includes" which allow formats like:
"includes": ["springfox-(bean-validators|core|schema|spi|spring-web|swagger-common|swagger-ui|swagger2|)"],
why don't you support the same syntax in more attributes, like the previous "substitute", so you can have something like:
The text was updated successfully, but these errors were encountered: