You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Charles Moulliard <ch...@gmail.com> on 2015/07/02 11:04:59 UTC

Maven Core & JSR-330

Hi

This class still uses plexus for IoC -
https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
but
as mentioned within the doc (http://maven.apache.org/maven-jsr330.html),
JSR-330 is also supported since version 3.1 of maven-core but I don't see
such a class.

Is there a jsr-330 annotated class available ?
Regards,

-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Re: Maven Core & JSR-330

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
maven uses eclipse sisu, which provides plexus compatibility layer on
top of guice-based jsr330 implementation. you can use both plexus and
jsr330 components in maven. search for references to @Named annotation
to find jsr330 annotated classes. here is one totally random example

https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

-- 
Regards,
Igor

On Thu, Jul 2, 2015, at 05:04 AM, Charles Moulliard wrote:
> Hi
> 
> This class still uses plexus for IoC -
> https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
> but
> as mentioned within the doc (http://maven.apache.org/maven-jsr330.html),
> JSR-330 is also supported since version 3.1 of maven-core but I don't see
> such a class.
> 
> Is there a jsr-330 annotated class available ?
> Regards,
> 
> -- 
> Charles Moulliard
> Apache Committer / Architect @RedHat
> Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

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