maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: I thought that @Component was a good thing
Date Tue, 02 Dec 2014 19:16:52 GMT
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  
<bimargulies@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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


Mime
View raw message