copy\move plugin

2009-07-23 Thread Alexander
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. *
*


Re: copy\move plugin

2009-07-23 Thread Dan Tran
maven-antrun-plugin?



On Wed, Jul 22, 2009 at 11:24 PM, Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander
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, Alexanderthe.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




Re: copy\move plugin

2009-07-23 Thread Dan Tran
plugin is a plugin, as long as it can do the job.  Doubt you can find
another one to do that job.

-D

On Wed, Jul 22, 2009 at 11:31 PM, Alexanderthe.malk...@gmail.com wrote:
 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, Alexanderthe.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



AW: copy\move plugin

2009-07-23 Thread Lewis, Eric
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, 
 Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander
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,
  Alexanderthe.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




AW: copy\move plugin

2009-07-23 Thread Lewis, Eric
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
  outputDirectorymy_output/outputDirectory
  resources
resource
  directorymy_input/directory
  filteringfalse/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,
   Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander
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
  outputDirectorymy_output/outputDirectory
  resources
resource
  directorymy_input/directory
  filteringfalse/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,
Alexanderthe.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




AW: copy\move plugin

2009-07-23 Thread Lewis, Eric
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:the.malk...@gmail.com] 
 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 eric.le...@ipi.ch
 
  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
   outputDirectorymy_output/outputDirectory
   resources
 resource
   directorymy_input/directory
   filteringfalse/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,
 Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
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-resources-mojo.html

Just make sure your files aren't filtered, for instance

configuration
 outputDirectorymy_output/outputDirectory
 resources
   resource
 directorymy_input/directory
 filteringfalse/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,


Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander
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-resources-mojo.html

 Just make sure your files aren't filtered, for instance

 configuration
  outputDirectorymy_output/outputDirectory
  resources
   resource
 directorymy_input/directory
 filteringfalse/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,


 Alexanderthe.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




Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
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-resources-mojo.html

Just make sure your files aren't filtered, for instance

configuration
 outputDirectorymy_output/outputDirectory
 resources
  resource
directorymy_input/directory
filteringfalse/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,




Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander
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-resources-mojo.html

 Just make sure your files aren't filtered, for instance

 configuration
  outputDirectorymy_output/outputDirectory
  resources
  resource
directorymy_input/directory
filteringfalse/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,




 Alexanderthe.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




AW: copy\move plugin

2009-07-23 Thread Lewis, Eric
You may also want to take a look at the assembly plugin.
http://maven.apache.org/plugins/maven-assembly-plugin/

And be sure to read
http://www.sonatype.com/books/maven-book/reference/assemblies.html

It may be a bit of an overkill for your application, but you can definitely do 
anything you like with it.

Best regards,
Eric 

 -Ursprüngliche Nachricht-
 Von: Alexander [mailto:the.malk...@gmail.com] 
 Gesendet: Donnerstag, 23. Juli 2009 11:37
 An: Maven Users List
 Betreff: 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-re
 sources-mojo.html
 
  Just make sure your files aren't filtered, for instance
 
  configuration
   outputDirectorymy_output/outputDirectory
   resources
   resource
 directorymy_input/directory
 filteringfalse/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,
 
 
 
 
  Alexanderthe.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: 

Re: quick question: remove bin-dir.timestamp on mvn clean

2009-07-23 Thread Martin Höller
On Thursday 23 July 2009 Nicholas Tung wrote:
 Hi all,

Does anyone know how to remove the build-dir.timestamp on mvn
 clean? If I don't, it doesn't rebuild Scala files.

Configure the maven-clean-plugin to delete this additional file:
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html

hth,
- martin


signature.asc
Description: This is a digitally signed message part.


RE: copy\move plugin

2009-07-23 Thread Jonathan Woods
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
   outputDirectorymy_output/outputDirectory
   resources
   resource
 directorymy_input/directory
 filteringfalse/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,
 
 
 
 
  Alexanderthe.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



Re: copy\move plugin

2009-07-23 Thread Alexander Vaysberg
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
 outputDirectorymy_output/outputDirectory
 resources
 resource
   directorymy_input/directory
   filteringfalse/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,




  

Alexanderthe.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 

Re: Source dependency problem between ejb-jar and gwt-war

2009-07-23 Thread Rutton
nicolas de loof wrote:

  The plugin has a resource goal that can detect the necessary gwt source code
  to include (based on gtw.xml module file), and avoid your jar to contain ALL
  server-side code

   
Hmm. All the gwt-multiproject setup examples just copy all source code
resources to the jar.
See here:
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/multiproject.html
Perhaps you can tell me how to configure the gwt:resources goal to reach out to 
a distinct maven-ejb-project. But only snapping sources from a distinct project 
without explicit depdendency definition is what I would call a hack.

Actually I solved the problem myself. I configured the maven-source-plugin to 
generate a source-only-jar and included that via
a dependency with classifiersources/classifier in the gwt-war pom.xml and 
the gwt-compiler is happy with that. Unfortunately, afaik, this works only if 
the source-jar is installed in the repository, so mvn install in the ejb 
subproject needs to be called.




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: copy\move plugin

2009-07-23 Thread Markku Saarela
Also you could use jar plugin to make extra artifact for project with 
classifier like server and configure that jar plugin execution to 
include server specific resource files.


- Markku Saarela

Alexander Vaysberg wrote:
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
 outputDirectorymy_output/outputDirectory
 resources
 resource
   directorymy_input/directory
   filteringfalse/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,




  

Alexanderthe.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






  


Prevent Install of Assembly

2009-07-23 Thread Jim Collings
So I have a sub module that has an assembly.  It is associated with
the package goal. Each time I run install though, the zip file
created is placed in the repository. There is no need for this.  How
can I prevent it?


Jim C.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

So the docs I found at the link above had this to say:

When the assembly is created it will use the assemblyId as the
artifact's classifier and will attach the created assembly to the
project and will be uploaded into the repository on an install and
deploy goal.'

So in theory all I have to do is change the assemblyId?

I'll see if I can figure out how to do this and try a test.

On Thu, Jul 23, 2009 at 11:18 AM, Jim Collingsjlistn...@gmail.com wrote:
 So I have a sub module that has an assembly.  It is associated with
 the package goal. Each time I run install though, the zip file
 created is placed in the repository. There is no need for this.  How
 can I prevent it?


 Jim C.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
Didn't work. Neither did changing appendAssemblyId to false.
Anybody have additional ideas?

On Thu, Jul 23, 2009 at 11:25 AM, Jim Collingsjlistn...@gmail.com wrote:
 http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

 So the docs I found at the link above had this to say:

 When the assembly is created it will use the assemblyId as the
 artifact's classifier and will attach the created assembly to the
 project and will be uploaded into the repository on an install and
 deploy goal.'

 So in theory all I have to do is change the assemblyId?

 I'll see if I can figure out how to do this and try a test.

 On Thu, Jul 23, 2009 at 11:18 AM, Jim Collingsjlistn...@gmail.com wrote:
 So I have a sub module that has an assembly.  It is associated with
 the package goal. Each time I run install though, the zip file
 created is placed in the repository. There is no need for this.  How
 can I prevent it?


 Jim C.



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Prevent Install of Assembly

2009-07-23 Thread Nord, James
http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach 

 -Original Message-
 From: Jim Collings [mailto:jlistn...@gmail.com] 
 Sent: 23 July 2009 16:43
 To: Maven Users List
 Subject: Re: Prevent Install of Assembly
 
 Didn't work. Neither did changing appendAssemblyId to false.
 Anybody have additional ideas?
 
 On Thu, Jul 23, 2009 at 11:25 AM, Jim 
 Collingsjlistn...@gmail.com wrote:
  http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
 
  So the docs I found at the link above had this to say:
 
  When the assembly is created it will use the assemblyId as the 
  artifact's classifier and will attach the created assembly to the 
  project and will be uploaded into the repository on an install and 
  deploy goal.'
 
  So in theory all I have to do is change the assemblyId?
 
  I'll see if I can figure out how to do this and try a test.
 
  On Thu, Jul 23, 2009 at 11:18 AM, Jim 
 Collingsjlistn...@gmail.com wrote:
  So I have a sub module that has an assembly.  It is 
 associated with 
  the package goal. Each time I run install though, the zip file 
  created is placed in the repository. There is no need for 
 this.  How 
  can I prevent it?
 
 
  Jim C.
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 

**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Packaging external jars used within the ejb...

2009-07-23 Thread n000b

Hi all,

I have ejb that uses some external libraries, I have configured my pom.xml
for that and the jars are found during compile time and the ejb jar is
generated. What I want to do is to package the libs used by the ejb with the
ejb itself i.e. placing those lib under


|_ _ _ META-INF
 +
 |_ _ _ lib
   +
   |_ _ _ (the needed jars)

I am using scope as compile for those jar (in the dependency tag). But
those jars are not packaged into the ejb. Don't know if it's on any
important, I have a ear project in maven, that contains various ejb(s). I
dont want to put all the libs in the ear directory.

I'd highly appreciate, if anyone could comment on what I am doing wrong in
this case?

Thanks in Advance,
Usman.
-- 
View this message in context: 
http://www.nabble.com/Packaging-external-jars-used-within-the-ejb...-tp24629335p24629335.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: copy\move plugin

2009-07-23 Thread Alexander
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
  outputDirectorymy_output/outputDirectory
  resources
  resource
   directorymy_input/directory
   filteringfalse/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,






 Alexanderthe.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: 

Deploy Maven 2.1.0

2009-07-23 Thread igorcomputacao

Hello for all,
I have a problem in execute the deploy of my application.
On determinate moment, my deploy is freezing and show-me this mensagen: 

artifact com.lowagie:itext: checking for updates from jaspersoft

Someone help me?


-- 
View this message in context: 
http://www.nabble.com/Deploy-Maven-2.1.0-tp24631897p24631897.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[ANN] Maven Jarsigner Plugin 1.0 Released

2009-07-23 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Jarsigner 
Plugin, version 1.0.


This plugin signs and verifies the project artifacts using the jarsigner 
tool. See the plugin's site for more details:


  http://maven.apache.org/plugins/maven-jarsigner-plugin/

The new plugin is meant to supercede the existing jar:sign and 
jar:sign-verify goals from the Maven Jar Plugin which will be deprecated 
in a future release.


To use the new plugin in your projects, you need to add the
the following plugin configuration to your POM:

  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jarsigner-plugin/artifactId
version1.0/version
executions
  ...
/executions
  /plugin

Release Notes - Maven 2.x Jar Signer Plugin - Version 1.0

(none - initial release)


Enjoy,

-The Maven team

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Repository problems

2009-07-23 Thread igorcomputacao

I have the same problem...
Occurs on maven 2.1.0 and 2.2.0.
Do you have any solution?


mgainty wrote:
 
 
 looks like the HttpWagon saw an EOF..
 
 can you post the pom.xml
 also I would validate the pom.xml for well-formed
 
 Martin 
 __ 
 Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
 copie de ceci est interdite. Ce message sert à l'information seulement et
 n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
 les email peuvent facilement être sujets à la manipulation, nous ne
 pouvons accepter aucune responsabilité pour le contenu fourni.
 
 
 
 
 
  
 
 Date: Tue, 7 Apr 2009 11:56:33 -0400
 Subject: Re: Repository problems
 From: j...@strayer.org
 To: users@maven.apache.org
 
 Here is what I'm seeing now:
 
 [DEBUG] Retrieving parent-POM: org.apache.commons:commons-parent::5 for
 project: commons-logging:commons-logging:jar:1.1.1 from the repository.
 [DEBUG] commons-logging:commons-logging:jar:1.1.1:compile (range
 restricted from: [1.0,) and: 1.1 to: 1.1 )
 [INFO] artifact com.lowagie:itext: checking for updates from central
 [WARNING] repository metadata for: 'artifact com.lowagie:itext' could not
 be
 retrieved from repository: central due to an error: Error transferring
 file
 [DEBUG] Exception
 org.apache.maven.wagon.TransferFailedException: Error transferring file
 at
 org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
 at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
 at
 org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum(DefaultWagonManager.java:654)
 at
 org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:485)
 at
 org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:370)
 at
 org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:97)
 at
 org.apache.maven.project.artifact.MavenMetadataSource.retrieveAvailableVersions(MavenMetadataSource.java:404)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:346)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:408)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:76)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:300)
 at
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
 at
 org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1415)
 at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:405)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: java.io.EOFException
 at 

Re: quick question: remove bin-dir.timestamp on mvn clean

2009-07-23 Thread Nicholas Tung
On Thu, Jul 23, 2009 at 2:43 AM, Martin Höller mar...@xss.co.at wrote:

 On Thursday 23 July 2009 Nicholas Tung wrote:
  Hi all,
 
 Does anyone know how to remove the build-dir.timestamp on mvn
  clean? If I don't, it doesn't rebuild Scala files.

 Configure the maven-clean-plugin to delete this additional file:

 http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html

 hth,
 - martin


Thanks!

Nicholas
https://ntung.com


[PLEASE TEST] Maven 2.2.1-RC1

2009-07-23 Thread John Casey

Hi everyone,

It looks like we've got some pretty major regressions with Maven 2.2.0, 
as I'm sure you've noticed.


Please give this version a try at:

http://bit.ly/4swtGu

(https://repository.apache.org/content/repositories/maven-staging-025/org/apache/maven/apache-maven/2.2.1-RC1/)

---
I think we have the worst of these problems (the regressions from 2.2.0, 
and all the problems with the httpclient-based wagons) fixed, or at 
least contained. Basically, the changes for 2.2.1 will restore the 
lightweight-http wagons as default, but will introduce a new feature 
that allows selection of a wagon provider for any given protocol. You 
can do this with the cli options:


mvn -Dmaven.wagon.provider.http=httpclient ...

Or, you can use the server entry in the settings.xml:

server
  idfoo/id
  configuration
wagonProviderhttpclient/wagonProvider
...
  /configuration
/server

In both of the above configurations, Maven will look for a component with:

Role: org.apache.maven.wagon.Wagon
Role-Hint: http-httpclient

We have redefined the httpclient and lightweight http wagon components 
using new role-hints:


- http-httpclient
- https-httpclient
- http-lightweight
- https-lightweight

New wagons can be brought in via extensions and used in this same manner.

In all, we've solved 11 issues for this release (so far):

http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500styleName=Htmlversion=15328

As always, please file JIRA issues for anything that comes up broken, at:

http://jira.codehaus.org/browse/MNG

...and please, please report the issue numbers in this thread, so we can 
keep track of what's going on.


Thanks,

-john

---
John Casey
Developer and PMC Member, Apache Maven (http://maven.apache.org)
Member, Apache Software Foundation

What we have to learn to do, we learn by doing.
   -Aristotle

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Disk upgrades on Central

2009-07-23 Thread Brian Fox
We're scheduling a disk upgrade tonight at midnight pst. During this
time, the repository may be offline while data is moved to larger
disks.

Thanks,
Brian

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org