Re: Read plugin configuration from another plugin

2016-04-28 Thread Julien HENRY
Thanks guys, I'll have a look. Le Jeudi 28 avril 2016 12h44, Anton Tanasenko a écrit : Hey, M2E is effectively doing LifecycleExecutor#calculateExecutionPlan(session, false, "default").getMojoExecutions(), and each returned mojo execution has a final xml config.

Re: Read plugin configuration from another plugin

2016-04-28 Thread Anton Tanasenko
Hey, M2E is effectively doing LifecycleExecutor#calculateExecutionPlan(session, false, "default").getMojoExecutions(), and each returned mojo execution has a final xml config. 2016-04-28 13:00 GMT+03:00 Tamás Cservenák : > Hi there, > > there is a POC I was toying with

Re: Read plugin configuration from another plugin

2016-04-28 Thread Tamás Cservenák
Hi there, there is a POC I was toying with after ApacheCon last year. It is hacky, but I just wanted to see would it work: https://github.com/cstamas/configuration-maven-plugin If you want to _READ_ the config, same approach as above with lifecycle participant would work as it receives the

Read plugin configuration from another plugin

2016-04-28 Thread Julien HENRY
Hi guys, The SonarQube plugin for Maven try to configure SonarQube analysis based on Maven project configuration. We are interested by project model (packaging, properties) but also by configuration of other plugins (m-compiler-p source and target for example). Our approach to get this