Re: iterating over resources in mojo

2011-08-11 Thread Bill Shannon
00 AM: See http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html getFiles(), getFileNames(), getFileAndDirectoryNames() -Robert Date: Thu, 11 Aug 2011 08:02:01 +0200 Subject: Re: iterating over resources in mojo From

RE: iterating over resources in mojo

2011-08-11 Thread Robert Scholte
See http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/FileUtils.html getFiles(), getFileNames(), getFileAndDirectoryNames() -Robert > Date: Thu, 11 Aug 2011 08:02:01 +0200 > Subject: Re: iterating over resources in mojo

Re: iterating over resources in mojo

2011-08-10 Thread Anders Hammar
I don't have the answer, but I would look in the maven-resources-plugin source to see how it is done there. /Anders On Thu, Aug 11, 2011 at 00:54, Bill Shannon wrote: > I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the > Resource objects for a project. The Resources might

iterating over resources in mojo

2011-08-10 Thread Bill Shannon
I'm writing a maven plugin. (2.2.1, if it matters.) I can get all the Resource objects for a project. The Resources might have includes or excludes specified. How do I iterate over all the resource files, taking into account the includes and excludes? I was hoping the Resource or FileSet clas