Move the plugin declarations to the appropriate profile.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, April 28, 2008 8:54 AM
To: [email protected]
Subject: Execute plugin for certain profile

In our project, we've created a webapp which we deploy on an application
server.  The problem is, in our production environment we're using
Websphere, but on our development machines we run Tomcat.  We have a
plugin to deploy to the Websphere and for Tomcat we're using Cargo.  The
problem is, how can we make sure that maven executes the cargo plugin in
our development environment for the Dev-profile and the Websphere plugin
to deploy the application in our production environment for the
Prod-profile.

 

Is it possible to execute a plugin in a certain profile, but not in
another profile?



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to