Is it possible to change maven default goal?
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
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.
精彩评论