Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
    @Component( expression"project" )
    private MavenProject project;

    @Component( role = MyComponentExtension.class,
                roleHint = "project..." )
    private MavenProjectMyComponent projectcomponent;

Improvement Idea HBO-3

Introduce JSR-330, by requiring plugin developer to mark injected fields with standard @Inject and make @Parameter and @Component standard Qualifier.
Costs more writing for plugin developer (these @Inject) without much win other than mark the intent in a standard way (and should change much for maven-plugin-tools)

...