Basically just parsing some files below a root directory, considering both 
includes and excludes supporting some globbing. Therefore I would like to 
leverage 
https://maven.apache.org/shared/file-management/apidocs/org/apache/maven/shared/model/fileset/util/FileSetManager.html#getIncludedFiles(org.apache.maven.shared.model.fileset.FileSet)
 
<https://maven.apache.org/shared/file-management/apidocs/org/apache/maven/shared/model/fileset/util/FileSetManager.html#getIncludedFiles(org.apache.maven.shared.model.fileset.FileSet)>,
 but the question is how to use that together with the BuildContext (to also 
consider only modified files in my IDE).


> On 26 Sep 2016, at 15:53, Igor Fedorenko <i...@ifedorenko.com> wrote:
> 
> 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 
>> <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
>> m2e-users@eclipse.org <mailto:m2e-users@eclipse.org>
>> To change your delivery options, retrieve your password, or unsubscribe from 
>> this list, visit
>> https://dev.eclipse.org/mailman/listinfo/m2e-users 
>> <https://dev.eclipse.org/mailman/listinfo/m2e-users>
> 
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to