I have a sim-linked folder (belonging to my version control program) in each folder of my project pointing to the corresponding backend directory. maven tends to compile the current directory and also the files in the backend pointed by the sym-linked folder, and ends up throwing duplicate class error. I have tried using <exclude>with the folder name for the maven-compiler-plugin and java compilation goes through fine. However I am not able to do the same for gmaven plugin (groovy) .Though normal compilation using gmaven succeeds, the generateTestStubs goal fails., with the same duplicate class errors. So I would somehow like to exclude tthe folder from being entered.
Thanks -- raj On Thu, Oct 6, 2011 at 7:08 PM, Anders Hammar <and...@hammar.net> wrote: > You don't "configure" maven but rather specific plugins for this. What > is it that you want to do, really? > > /Anders > > On Thu, Oct 6, 2011 at 15:32, rajaram shetty <rajaram...@gmail.com> wrote: > > Is there a way to configure maven to skip all the directories with a > > particular name in the project structure. > > Thanks > > -- > > raj > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- rajaram