mrice / license-check

Make sure your Maven dependencies have declared, recognized open source licenses
http://michaelrice.com
MIT License
41 stars 21 forks source link

Allow exclusions by regular expressions #6

Closed mjunginger closed 10 years ago

mjunginger commented 10 years ago

I a new configuration element called 'excludesRegex'. You can use it just as 'excludes' however it is interpreted as an array of regular expressions. This allows e. g. to exclude all apache projects. Example:

org.slf4j:.*

Furthermore I converted the excludes and blacklist into a HashSet to avoid redundant looping over the arrays.

mrice commented 10 years ago

Wow, nice work. Thanks so much for your PR and for taking the time to work on my project!! I'll take a closer look today...