Skip to main content

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

What are you trying to achieve?

--
Regards,
Igor


On Mon, Sep 26, 2016, at 09:32 AM, Konrad Windszus wrote:
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
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top