My custom maven plugin have three goals (mojos):
convert
process-test-resources
generateStubs>
I think what you are looking for is the defaultPhase attribute of the Mojo annotation, see https://maven.apache.org/components/plugin-tools/maven-plugin-tools-annotations/ for all the details.
defaultPhase
Mojo