Then it might be more naturally 'Maven' to have 3 projects, 2 of them
depending on the common third. 

> -----Original Message-----
> From: Alexander [mailto:[email protected]] 
> Sent: 23 July 2009 10:37
> To: Maven Users List
> Subject: Re: copy\move plugin
> 
> Nope, client looks exactly like server. They have no code 
> difference. Only some configuration files.
> 
> 2009/7/23 Alexander Vaysberg <[email protected]>
> 
> > The simply was create 2 project client and server. You can it make 
> > with multi-project. In this case you have a separetly you 
> client and 
> > server application.
> >
> > Alexander schrieb:
> >
> >  Hello,
> >>
> >> I must distribute different set of resource files\ bat 
> files\ images 
> >> at server and client application. For server I have to 
> copy bat files 
> >> to register in servers, properties with db configuration 
> and so on. 
> >> But client don't need them - it only connects to server.
> >>
> >> I want to type "mvn package" and after moment see two distrinct 
> >> folders for server and client use.
> >>
> >> 2009/7/23 Alexander Vaysberg <[email protected]>
> >>
> >>
> >>
> >>> The Maven is not same as Ant. The first question is why 
> you need the 
> >>> same file on different places? If you try make a project 
> for alls, 
> >>> that the maven, isn't for you.
> >>>
> >>> Alexander schrieb:
> >>>
> >>>  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-resour
> >>>>> ces-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]
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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