You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jacob Hoeflaken <jh...@brocacef.nl> on 2006/03/30 09:29:44 UTC

Disable a phase plugin

Is it possible to disable a plugin which is bounded to a phase. I want to
exhange the default maven-war-plugin with my own. But if I keep the
packaging type to war in de pom.xml the maven-war-plugin from apache is
always run!
--
View this message in context: http://www.nabble.com/Disable-a-phase-plugin-t1366899.html#a3665362
Sent from the Maven - Users forum at Nabble.com.

RE : Disable a phase plugin

Posted by Olivier Lamy <ol...@accor.com>.
You need to specify a new packaging [1].

Note : I have done it but in certain case (rare) I have encountered this
issue http://jira.codehaus.org/browse/MNG-2109.
And customizing my Artifact Handler has some trouble (like no javadoc
generated).

But as new features are currently implemented in the maven-war-plugin in
SVN trunk , I have switched back to this.

- Olivier

[1]
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html section Specifying a New Packaging
[2]
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl
e.html section Creating a Custom Artifact Handler 

-----Message d'origine-----
De : Jacob Hoeflaken [mailto:jhoeflaken@brocacef.nl] 
Envoyé : jeudi 30 mars 2006 09:30
À : users@maven.apache.org
Objet : Disable a phase plugin



Is it possible to disable a plugin which is bounded to a phase. I want
to exhange the default maven-war-plugin with my own. But if I keep the
packaging type to war in de pom.xml the maven-war-plugin from apache is
always run!
--
View this message in context:
http://www.nabble.com/Disable-a-phase-plugin-t1366899.html#a3665362
Sent from the Maven - Users forum at Nabble.com.



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
********************************************************************** 


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