Well, you could always repeat the configuration and specify different output 
directories.
Not very elegant, though...  :-)

Best regards,
Eric 

> -----Ursprüngliche Nachricht-----
> Von: Alexander [mailto:[email protected]] 
> Gesendet: Donnerstag, 23. Juli 2009 11:03
> An: Maven Users List
> Betreff: Re: copy\move plugin
> 
> 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 <[email protected]>
> 
> > No, by specifying outputDirectory, you can copy anywhere you like.
> >
> > See
> > 
> http://maven.apache.org/plugins/maven-resources-plugin/copy-re
> sources-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:[email protected]]
> > > 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 <[email protected]>
> > >
> > > > I do my copying with the resource plugin, which works nicely.
> > > >
> > > > Best regards,
> > > > Eric
> > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Alexander [mailto:[email protected]]
> > > > > 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 <[email protected]>
> > > > >
> > > > > > maven-antrun-plugin?
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Jul 22, 2009 at 11:24 PM,
> > > > > Alexander<[email protected]> 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: [email protected]
> > > > > > For additional commands, e-mail: [email protected]
> > > > > >
> > > > > >
> > > > >
> > > >
> > > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > >
> > > >
> > >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to