I have defined a class inheriting from AbstractMojo with @goal mygoal.

So, everytime  we do

$ mvn myplugin:mygoal

I want to invoke the compile goal ( $ mvn compile ) behind the scenes and my goal getting launched only if the former was a success. Is there an annotation / configuration in pom.xml of my maven plugin to do this.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to