[ 
https://issues.apache.org/jira/browse/MNG-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011187#comment-16011187
 ] 

Igor Fedorenko commented on MNG-6233:
-------------------------------------

We already have plenty of jsr330 components in maven, so this is my no means 
new in Maven. I was slowly replacing plexus annotations with jsr330 over last 
few years, but if anyone feels like doing bulk conversion I won't object ;-)

[~rfscholte] maven does not do classpath scanning for jsr330 components, check 
how plexus container is created in MavenCli.

> maven-resolver-provider mixes jsr330 and plexus annotations
> -----------------------------------------------------------
>
>                 Key: MNG-6233
>                 URL: https://issues.apache.org/jira/browse/MNG-6233
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.9, 3.5.0
>            Reporter: Igor Fedorenko
>             Fix For: 3.5.1-candidate
>
>
> Mixed annotations confuse guice/sisu and result in hard to troubleshoot and 
> impossible to workaround problems in applications that embed Maven core 
> runtime, like m2e and gshell. 
> I believe plugins annotations where left in the code by mistake so the plan 
> is to update the code to use jsr330 exclusively and completely remove plexus 
> annotations. This change is fully transparent to the users (and we've been 
> using it internally for couple of months now).
> See also https://github.com/apache/maven/pull/116



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to