Hello, On Thu, Feb 26, 2009 at 8:11 AM, youhaodeyi <[email protected]> wrote: > > I have may XML files in src/main/java directory and its sub directory. When I > run "mvn compile", these XML files will not be copied to the target/classes > directory. I know I can put these files in src/main/resources directory but > it is really hard work for me. How can I let maven do this?
Maven seems like a bad choice for this. Why don't you just... bash$ tar --wildcards --exclude '*.java' --exclude '.svn' --create --directory src/main/java --file - . | tar --extract --directory src/main/resources --file - -jesse --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
