Описание тега maven-compiler-plugin
The Maven Compiler Plugin is used to compile the sources of your project. The default compiler is javac and is used to compile Java sources.
The Maven Compiler Plugin is used to compile the sources of your project.
The plugin always has a binding to the compile
phase to compile application sources and to the test-compile
phase to compile test sources.
Check the official usage page for a first look at this plugin.