Maven Compiler Plugin

In this section, you will learn about maven compiler plugin and how it can be
configure in maven.

By implementing this plugin, you can compile our project sources. In maven
compiler plugin, javac is the default compiler and it is employed to
compile java sources. Also, the default source and target
setting is 1.5 without using the JDK you run Maven with.

You can change these defaults , you need to set source and target
in pom.xml as shown
below :