How to specify a default goal for a Maven plugin?
AFAIK, there are not default goals for Maven plugins.
You can configure a plugin without adding a goal. But this does not execute the plugin.
The plugin must be either executed explicitly on command line (like flyway:migrate
) or is executed automatically through the lifecycle (like compile:compile
or jar:jar
).