Re: If there any way to execute plugin conditionally?

2009-12-10 Thread Adam Leggett (UPCO)
No problem Dmitry, glad to share the knowledge :).

On Wed, 2009-12-09 at 13:08 -0500, Dmitry Skavish wrote:
 Thanks a lot! Works perfectly! That's exactly what I was looking for.
 
 On Wed, Dec 9, 2009 at 12:28 PM, Adam Leggett (UPCO) 
 adam.legg...@upco.co.uk wrote:
 
  Did you look at profiles for this -
  http://maven.apache.org/guides/introduction/introduction-to-profiles.html?
 
  They can be activated with an env var.
 
  Thanks
 
  Adam
 
  On Wed, 2009-12-09 at 12:24 -0500, Dmitry Skavish wrote:
   Hi,
  
   I need to run dependency-copy plugin only when some environment variable
   set. Is it possible? I could not find anything even remotely related to
   that. Thanks!
  
 
 
  -
  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



If there any way to execute plugin conditionally?

2009-12-09 Thread Dmitry Skavish
Hi,

I need to run dependency-copy plugin only when some environment variable
set. Is it possible? I could not find anything even remotely related to
that. Thanks!

-- 
Dmitry Skavish


Re: If there any way to execute plugin conditionally?

2009-12-09 Thread Adam Leggett (UPCO)
Did you look at profiles for this -
http://maven.apache.org/guides/introduction/introduction-to-profiles.html ?

They can be activated with an env var.

Thanks

Adam

On Wed, 2009-12-09 at 12:24 -0500, Dmitry Skavish wrote:
 Hi,
 
 I need to run dependency-copy plugin only when some environment variable
 set. Is it possible? I could not find anything even remotely related to
 that. Thanks!
 


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



Re: If there any way to execute plugin conditionally?

2009-12-09 Thread Dmitry Skavish
Thanks a lot! Works perfectly! That's exactly what I was looking for.

On Wed, Dec 9, 2009 at 12:28 PM, Adam Leggett (UPCO) 
adam.legg...@upco.co.uk wrote:

 Did you look at profiles for this -
 http://maven.apache.org/guides/introduction/introduction-to-profiles.html?

 They can be activated with an env var.

 Thanks

 Adam

 On Wed, 2009-12-09 at 12:24 -0500, Dmitry Skavish wrote:
  Hi,
 
  I need to run dependency-copy plugin only when some environment variable
  set. Is it possible? I could not find anything even remotely related to
  that. Thanks!
 


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




-- 
Dmitry Skavish