I figured it out. Turns out I had two different versions of plexus-container-default as Maven dependencies. This caused the instanceof check in the ContextualizePhase to return false even though my Mojo implemented Contextualizable. I corrected my pom and it is working as expected now.
Thank you, Kurt On Mon, May 3, 2010 at 5:11 PM, Kurt Zettel <[email protected]> wrote: > I have a custom plugin which > implements > org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable. > It has been working fine with the older alphas (5 and 6) but with alpha-7 > and beta-1 my plugin is no longer being contextualized. The > method contextualize is not being called. Any thoughts on what changed or > what I could be doing wrong? > > Thank you, > > -- > Kurt Zettel, Chief Architect > Metova, Inc. > >
