On 21 Sep 2014, at 22:54, animator <l.gadaw...@gmail.com> wrote: > Thanks for answers! > > I removed reporting section and unfortunately it doesn't work.. (*1)(btw. > before that I added reporting api and declared InstrumentMojo extends > AbstractMavenReport but this doesn't work too). > > I suppose may be there is problem with plexus, because when I added > Component annotations that you suggested (*2) I got following error:
If you want ClojureExecutorImpl to be a Plexus @Component then you should provide a no-argument constructor, since Plexus semantics only support setter or field injection (using @Requirement to mark the method/field). To access the Log inside your component, either add a @Requirment annotated setter/field or extend AbstractLogEnabled. > /... > [WARNING] Error injecting: > com.gadawski.maven.plugins.cloverage.goals.InstrumentMojo > com.google.inject.ProvisionException: Guice provision errors: > > 1) No implementation for > com.gadawski.maven.plugins.cloverage.ClojureExecutor was bound. > while locating com.gadawski.maven.plugins.cloverage.goals.InstrumentMojo > .../ > > despite adding needed annotations. Do I need any special configuration for > plexus or anything else? > > *1 > https://github.com/lgadawski/test-polyglot-project/commit/ef847f98381adcb1127ab278b84962a201195d7a > *2 > https://github.com/lgadawski/cloverage-maven-plugin/commit/0f99966fbb965be8c4d79845617e0a4ed748bc54 > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Problem-while-getting-injected-parameters-from-plugin-configuration-tp5805894p5805996.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