Sorry when this answer is an over-simplification, but you can just configure it in a common parent. This is a quite typical case why you want shared company/team/product/buildenv parents.
Gruss Bernd -- http://bernd.eckenfels.net On Fri, Jan 13, 2017 at 5:51 PM +0100, "Dean Schulze" <dean.w.schu...@gmail.com> wrote: I would like to avoid having to add 1.8 1.8 to every pom.xml. Is there a global setting I can set in mvn to make Java 8 the default so I don't have to add this to every pom.xml?