Perso, I prefer @Component more "auto documented" name. IMHO The goal is to hide to end user what is used in core so why using plexus naming.
2012/5/20 Hervé BOUTEMY <herve.bout...@free.fr>: > of course, +1 since we discussed it :) > > but thinking once more at it, I just found that @Component should be renamed > to @Requirement, to match corresponding plexus annotation, isn't it? > > Regards, > > Hervé > > Le dimanche 20 mai 2012 09:00:05 Olivier Lamy a écrit : >> Hi, >> >> After discussion on irc with Hervé, I think role attribute in >> @Component can be of type Class<?> rather than String. >> >> @Component( role = ArtifactMetadataSource.class, roleHint = "maven" ) >> protected ArtifactMetadataSource artifactMetadataSource; >> >> Any objections on this change ? >> >> Thanks, > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org