Hello, It seems like it is impossible to copy one file to several different locations not under target directory. Sure, I can copy several different files to one directory but not otherwise.
2009/7/23 Lewis, Eric <eric.le...@ipi.ch> > No, by specifying outputDirectory, you can copy anywhere you like. > > See > http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html > > Just make sure your files aren't filtered, for instance > > <configuration> > <outputDirectory>my_output</outputDirectory> > <resources> > <resource> > <directory>my_input</directory> > <filtering>false</filtering> > </resource> > </resources> > </configuration> > > It's really flexible, read the examples, for instance 'Including and > excluding files and directories'. > > Best regards, > Eric > > > -----Ursprüngliche Nachricht----- > > Von: Alexander [mailto:the.malk...@gmail.com] > > Gesendet: Donnerstag, 23. Juli 2009 09:48 > > An: Maven Users List > > Betreff: Re: copy\move plugin > > > > Hello, > > > > You copy files to output (target) directory or to any other? I thought > > resource plugin helps with copying files from somewhere to > > output (target) > > only directory. > > > > 2009/7/23 Lewis, Eric <eric.le...@ipi.ch> > > > > > I do my copying with the resource plugin, which works nicely. > > > > > > Best regards, > > > Eric > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: Alexander [mailto:the.malk...@gmail.com] > > > > Gesendet: Donnerstag, 23. Juli 2009 08:32 > > > > An: Maven Users List > > > > Betreff: Re: copy\move plugin > > > > > > > > Hello, > > > > > > > > I knew about that plugin, but thanks anyway. With that > > plugin I could > > > > emulate so many maven plugins, you know.. But I'm trying to > > > > move to maven > > > > from ant and wondering if I could use some maven kung-fu. > > > > > > > > 2009/7/23 Dan Tran <dant...@gmail.com> > > > > > > > > > maven-antrun-plugin? > > > > > > > > > > > > > > > > > > > > On Wed, Jul 22, 2009 at 11:24 PM, > > > > Alexander<the.malk...@gmail.com> wrote: > > > > > > Hello all, > > > > > > > > > > > > Does maven have any plugin that provides simple task as > > > > copy\move files? > > > > > > Sure, I could invoke ant task but really want to do all > > > > in *maven style. > > > > > *I > > > > > > need to juggle with files a little. * > > > > > > * > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > > > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >