The assumption you made that if you call
mvn myplugin:myGoal
But the problem is that you will get an error message cause the execution have no unique id's (both in this case have the same).
You can reach what you like to do via profiles which you can activate via mvn -PXYZ and mvn -PABC