Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] BuildContext.newScanner(...) with FileSet

The recommended documented way of dealing with Files inside your Mojo is using a FileSet http://maven.apache.org/shared/file-management/examples/mojo.html and https://maven.apache.org/shared/file-management/fileset.html)
Unfortunately the BuildContext.newScanner does not directly take a FileSet as parameter. Is there any specific reason, why such a method was not added in the first place?
What is your recommended way of parameterise some File parsing capabilities in your Mojo. Do you recommend using FileSets or explicit include/exclude and rootFolder parameters?
Thanks for your input
Konrad

Back to the top