Re: Access project properties in non-plugin code

2018-02-25 Thread Basin Ilya
Thanks Robert. 25.02.2018 17:58, Robert Scholte пишет: > The preferred way is to change or extend the plugin. > It should be possible to do this: > > public class CustomMojo extends OtherMojo { > >   @Parameter >   private String whatever; > } > > if the OtherMojo is accessible enough. > > An

Re: Access project properties in non-plugin code

2018-02-25 Thread Robert Scholte
The answer should be 'no'. It often helps if you're describing the usecase. What are you trying to achieve? Robert On Sun, 25 Feb 2018 15:05:08 +0100, Basin Ilya wrote: Hi Can a plugin dependency (which is not a plugin itself) access the plugin configuration when it's called by the plugin? O

Access project properties in non-plugin code

2018-02-25 Thread Basin Ilya
Hi Can a plugin dependency (which is not a plugin itself) access the plugin configuration when it's called by the plugin? Or at least access the current maven project properties? Through some thread-local or static member. - To