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
<http://maven.apache.org/shared/file-management/examples/mojo.html> and
https://maven.apache.org/shared/file-management/fileset.html
<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
_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users