Hi,
I'm creating a Maven plugin using Java Annotations and I'd like my
plugin to be bound to a default lifecycle phase so I don't have to
explicitly bind it to a phase in my regular projects.
So far I use
@Mojo(name = "generate", defaultPhase = LifecyclePhase.GENERATE_SOURCES)
public class MyMojo extends AbstractMojo {}
But that doesn't seem to be enough: just listing the mojo in the build
section of a test project does not execute the plugin.
My google fu fails me! Help!
-dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]