This depndency is of yaml type and it seems that openrewrite ignores such dependency and it doesn't perform any actions on them. I've tested it with the following recipes:
@PiotrZlotowski I've never come across the YAML type before. Super curious how this is used. Do you have a reference to a dependency somewhere that actually has this type?
Hello,
I have a project with following dependency:
This depndency is of yaml type and it seems that openrewrite ignores such dependency and it doesn't perform any actions on them. I've tested it with the following recipes:
I've debugged the code of openrewrite and the problem is located there: https://github.com/openrewrite/rewrite/blob/5427bbdd10cf8d5673b710a924dae82b3d07bbcc/rewrite-maven/src/main/java/org/openrewrite/maven/tree/ResolvedPom.java#L533-L535 Basically, only dependencies of type jar and pom are allowed to be processed, the rest is ignored and not processed any further. Is there any particular reason for that?
In the past, there was a similar case with dependency of type pom. Ticket: https://github.com/openrewrite/rewrite/issues/1583
I'm looking forward for your feedback in that matter.
Thanks a lot for your support.