Github user jvanzyl commented on the pull request:

    https://github.com/apache/maven/pull/70#issuecomment-159774014
  
    @barthel I mean using the JSR330 equivalents for @Component and 
@Requirement. For @Component we replace them with @Named and @Singleton used 
together at the class level, and we replace @Requirement with @Inject at the 
field or constructor level. Generally I think using private final fields and 
using @Inject on the constructor is the better option. One we do not have with 
Plexus annotations. An example of a newer component that uses these are:
    
    
https://github.com/apache/maven/blob/master/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to