Specifying Java version in maven – differences between properties and compiler plugin

I’m not very experienced with Maven and while experimenting with multi-module project I started wondering how can I specify Java version for all my child modules in parent Maven pom. Until today I was using just: <properties> <java.version>1.8</java.version> </properties> …but when researching I found that you can also specify Java version in Maven compiler plugin, … Read more