On 26/05/2009, at 11:11 PM, Brian Fox wrote:
We're fixing the directoryscanner to allow regular expressions in
addition
to the ant syntax.
Cool, but that's another release in the chain, right?
Then we can do (?!.*/src/.*).*/target/.*
Ew :)
What if the build directory isn't target? (unlikely, I know).
What if there are both src and target packages in a source tree? (not
unthinkable)
What if it's a pom project with no src directory and still generates a
target?
Seems a little magic to me.
- Brett
On Mon, May 25, 2009 at 6:58 PM, Brett Porter <br...@apache.org>
wrote:
How about an option <excludeBuildDirectories>true</
excludeBuildDirectories>
that uses the list of build directories from all projects in the
reactor an
applies that to the fileset excludes?
It could be either descriptor-wide, or per-fileset I guess.
Short of that, I'd say to get it off the ground to tell projects
they need
to alter the descriptor when using it to explicitly include their
non-build
target directories.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org