Oh, I found assembly plugin suitable for my needs. Thanks lot to all! [?]

2009/7/23 Alexander Vaysberg <w...@vaisberg.de>

> I think, it was better the common project, server and  client project
> created. But other solution can be a assembling plugin. The first soluction
> with project for me was better. I can a release for common, client and
> server make. With assembling can I only default release make but not for
> client and server, or?
>
> Jonathan Woods schrieb:
>
>  Then it might be more naturally 'Maven' to have 3 projects, 2 of them
>> depending on the common third.
>>
>>
>>> -----Original Message-----
>>> From: Alexander [mailto:the.malk...@gmail.com] 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 <w...@vaisberg.de>
>>>
>>>
>>>
>>>> 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 <w...@vaisberg.de>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> 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 <eric.le...@ipi.ch>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> 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: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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --------------------------------------------------------------------
>>>
>>>
>>>> - 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
>>
>>
>>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to