no, there is absolutely nothing related to reporting plugins: reporting plugins are exactly like plugins
I didn't see test-polyglot-project, I just had a reaction when looking at the mojo source when I look at test-polyglot-project, I see another problem: why is it reclared in reporting section? The mojo is not a report mojo: a report mojo implements reporting-api Then the configuration in reporting section is not used at all: that explains why it is not injected. The configuration should be done in plugins or pluginManagement sections But you're right, my answer about plexus component is completely not about the question; it's another topic :) Regards, Hervé Le dimanche 21 septembre 2014 12:37:29 Igor Fedorenko a écrit : > On 2014-09-21, 12:14, Hervé BOUTEMY wrote: > > hte attribute "without property" seems to be expected to be a Plexus > > > component, but you didn't declare it: > Is this specific to reporting plugins? I believe regular plugins > can have @Parameter's without properties and/or default values. > > -- > Regards, > Igor > > > 1. in ClojureExecutorImpl, you should use Plexus @Component annotation > > like > > http://maven.apache.org/plugins-archives/maven-checkstyle-plugin-LATEST/xr > > ef/org/apache/maven/plugin/checkstyle/exec/DefaultCheckstyleExecutor.html > > > > 2. then inject the component into your plugin using plugin-tools > > @Component > > like > > http://maven.apache.org/plugins-archives/maven-checkstyle-plugin-LATEST/x > > ref/org/apache/maven/plugin/checkstyle/AbstractCheckstyleReport.html#L439 > > > > notice these 2 @Component annotations are not the same ones: we should > > have > > named them differently... > > > > the first one marks a class as a Plexus component: > > http://plexus.codehaus.org/plexus-containers/plexus-component-annotations/ > > > > the second one injects a Plexus component into a Mojo: > > http://maven.apache.org/plugin-tools/maven-plugin-tools-annotations/index. > > html > > > > > > HTH > > > > Regards, > > > > Hervé > > > > Le dimanche 21 septembre 2014 07:14:49 animator a écrit : > >> Yes, of course, > >> > >> plugin: https://github.com/lgadawski/cloverage-maven-plugin , > >> test project: https://github.com/lgadawski/test-polyglot-project > >> > >> Mojo class: > >> https://github.com/lgadawski/cloverage-maven-plugin/blob/master/src/main/ > >> jav a/com/gadawski/maven/plugins/cloverage/goals/InstrumentMojo.java I > >> declared there 4 parameter, those declared with property attirubutes > >> work fine, but those without, that reffers to configuration don't. > >> > >> > >> > >> -- > >> View this message in context: > >> http://maven.40175.n5.nabble.com/Problem-while-getting-injected-parameter > >> s-> from-plugin-configuration-tp5805894p5805910.html Sent from the Maven > >> Developers mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > >> For additional commands, e-mail: dev-h...@maven.apache.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org