A Mojo @Component annotated field should match a Plexus @Component annotated class.


Op Tue, 02 Dec 2014 20:18:26 +0100 schreef Benson Margulies <bimargul...@gmail.com>:

But these are 'maven' @Component, not plexus @Component, rigtht? Two
different annotation classes? You've regretted the entire
maven-not-plexus @Component?

On Tue, Dec 2, 2014 at 2:16 PM, Robert Scholte <rfscho...@apache.org> wrote:
We made a small mistake by exposing common Objects such as MavenProject,
MavenSession and Settings as Components to make it easier to inject them.
However, these kind of of Objects are not injected like a
(Plexus)-Component, hence the reason why we reverted this feature.

Robert

Op Tue, 02 Dec 2014 16:47:12 +0100 schreef Benson Margulies
<bimargul...@gmail.com>:

[WARNING] Deprecated @component for project field in
com.fasterxml.jackson.jsonschemaplugin.JsonSchemaMojo.: replace with
@parameter name="${project}" @readonly

This surprised me, coming from the maven-plugin-plugin when used as a
report.

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


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


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

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

Reply via email to