maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ringo De Smet <>
Subject @component or @plexus.requirement?
Date Thu, 19 Mar 2009 14:05:53 GMT

I'm a bit confused on the use of the @component and
@plexus.requirement Javadoc annotations.

The above document contains the following: "injected either as a
@plexus.requirement or @component annotation, depending on whether
you're writing a Plexus component or an implementation of the Mojo

Within a complete Maven plugin implementation, where is the boundary
for the set of classes where I have to use @component annotation? Is
it only in the real plugin class (extending AbstractMojo) where I have
to use @component? Use @plexus.requirement for the rest?

Please enlighten me!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message