mojohaus / jaxb2-maven-plugin

JAXB2 Maven Plugin
https://www.mojohaus.org/jaxb2-maven-plugin/
Apache License 2.0
105 stars 76 forks source link

Default exclude filters for readme are wrong #163

Open CFoltin opened 4 years ago

CFoltin commented 4 years ago

Hi,

as one of our branch names contained the word readme, the plugin refuses to take the XSD explicitly supplied when run in jenkins.

This is due to the filter rule

(\p{javaLetterOrDigit}|\p{Punct})+README.*

which matches parts of the path /local/workspace/_add-swagger-usage-to-the-readme/....

I would suggest a pattern like README.[^.]* to make sure that after the README. there are no more points.

anderius commented 1 year ago

The exclude pattern should also not take directories with the word "readme" somewhere in the path.