Re: Best approach to implement includes/excludes in Mojo?
What differs between the plexus-utils DirectoryScanner and the ant one ? Nico. 2007/10/8, Manos Batsis <[EMAIL PROTECTED]>: > > Tim Kettler wrote: > > the plugins provided by the maven team use plexus-utils for this [1]. > > The relevant classes are DirectoryScanner and FileUtils. Have a look at > > the resources-plugin for how it's done. > > > Thanks Tim, looks like DirectoryScanner is the perfect util class for > this. > > > > > [1] http://svn.codehaus.org/plexus/plexus-utils/trunk/ > > > > > Manos > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Best approach to implement includes/excludes in Mojo?
Tim Kettler wrote: the plugins provided by the maven team use plexus-utils for this [1]. The relevant classes are DirectoryScanner and FileUtils. Have a look at the resources-plugin for how it's done. Thanks Tim, looks like DirectoryScanner is the perfect util class for this. [1] http://svn.codehaus.org/plexus/plexus-utils/trunk/ Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best approach to implement includes/excludes in Mojo?
Hi, the plugins provided by the maven team use plexus-utils for this [1]. The relevant classes are DirectoryScanner and FileUtils. Have a look at the resources-plugin for how it's done. -Tim [1] http://svn.codehaus.org/plexus/plexus-utils/trunk/ Manos Batsis schrieb: What would be the best approach to implement something like Ant's includes/excludes in M2 mojos? Currently i'm only using a very basic subclass of DirectoryWalker + Commons IO FileFilterUtils. my.groupId my.artifactId src/main **/*.ext1 **/*.ext2 Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best approach to implement includes/excludes in Mojo?
What would be the best approach to implement something like Ant's includes/excludes in M2 mojos? Currently i'm only using a very basic subclass of DirectoryWalker + Commons IO FileFilterUtils. my.groupId my.artifactId src/main **/*.ext1 **/*.ext2 Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]