Hi everyone,

As you know, DirectoryScanner is used a lot in plugins.
Today I realized that plexus impl does not respect exclusions in the visit
but only in the result, it means if you exclude **/target/** and include
**/*.java, it will visit target to see if there is any java (cause ** means
java can be in target).
I did a quick fix for license-maven-plugin (
https://github.com/mycila/license-maven-plugin/pull/172) but discussion on
the PR we wonder if it is something to consider in maven shared utils.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to