ferstl / depgraph-maven-plugin

A Maven plugin that generates dependency graphs in various formats (DOT, GML, PlantUML, JSON and Text)
Apache License 2.0
561 stars 85 forks source link

Multiple wildcard matching for .dot styles #180

Closed mattjhann closed 10 months ago

mattjhann commented 10 months ago

Hi there! I've made some changes to the wildcardMatch method in your .dot style code to allow for asterisk wildcard matching not just at the end of the string, but for any substring, and for multiple wildcards. For example, this could help match SNAPSHOT version numbers with the following: *-SNAPSHOT

Here's what I've done:

If you want any extra info give me a shout.

ferstl commented 10 months ago

Hi Matt Thanks, looks good to me. I added a test for the enhanced wildcard match and it works fine.

ferstl commented 10 months ago

I released version 4.0.3 which contains the improved wildcard support. Thanks!