Is it possible to change the default maven target?

Maven newbie question :)

For 'war' packing,

war: war default goal run in the build phase of the package.

Is it possible to disable War: War?

I use war: exploded instead.

and is it possible to completely disable the compile: compile target?

I don't use javac at all.

thanks

+2


a source to share


1 answer


You cannot unbind the target without changing the default Built-in Lifecycle Bindings . AFAIK, the only way to disable or replace the target is to use type boxing pom

and rebuild everything manually in different stages.



+3


a source







All Articles