maven-dev mailing list archives

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

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

http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning

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
interface"

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!

Ringo

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


Mime
View raw message