Hi

during the hangout we discussed about plugins depending on configuration of another plugin, or in other words: sharing configuration.

For instance:
The values for
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source and
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#target

must be the same for
http://mojo.codehaus.org/aspectj-maven-plugin/compile-mojo.html#source and
http://mojo.codehaus.org/aspectj-maven-plugin/compile-mojo.html#target

http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#targetJdk

and somehow with the http://mojo.codehaus.org/animal-sniffer-maven-plugin/check-mojo.html, although it's probably hard to map this to the signatures http://mojo.codehaus.org/signatures/

and there are probably more....

The easiest way to keep these parameters in sync is by introducing a property and to use that per plugin. However, by using a property is has become an exposed variable. Something which can be set from commandline and that's not always what you want. Ideally a user should configure this only once either in a plugin or with a preserved pom-element. As said by Jason, plugins shouldn't be aware of each other. Also if the m-compiler-p has multiple execution blocks, it's quite impossible to solve this. So extending the pom model for these kind of parameters makes sense as long as it stays language independent.

thanks,
Robert

Op Mon, 07 Jul 2014 15:43:06 +0200 schreef Jason van Zyl <[email protected]>:

Here's the link for this week:

https://plus.google.com/u/0/b/113247990055413254822/events/c0kc3ecm0sndjj8evs7i1ijnk0g

I'll have a follow up on the POM Evolved proposal and I'd like to talk about how to test all our plugins in preparation against the latest version of Maven so we can start seeing all the deprecation in core. As per usual the floor is open to other topics.

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

 -- The Seven Samuari, Akira Kurosawa









---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to