tags:

views:

56

answers:

1

Maven newbie question :)

For 'war' packaging,

war:war default goal run in 'package' build phase.

Is it possible to disable war:war ?

I'm using war:exploded instead.

and is it possible to disable 'compile:compile' goal completely ?

I don't use javac at all.

Thank you

+1  A: 

You can't unbind a goal so you can't change the default Built-in Lifecycle Bindings. AFAIK, the only way to disable or replace a goal would be to use a packaging of type pom and to rebind everything manually on the various phases.

Pascal Thivent