Maven – Guide to Configuring Plug-ins
https://maven.apache.org/guides/mini/guide-configuring-plugins.html
默认插件

参数
Apache Maven Compiler Plugin – compiler:compile
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#forceJavacCompilerUse
<properties>
<skipTests>true</skipTests>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<source> | String | - | The -source argument for the Java compiler. NOTE: Since 3.8.0 the default value has changed from 1.5 to 1.6 Since 3.9.0 the default value has changed from 1.6 to 1.7 Since 3.11.0 the default value has changed from 1.7 to 1.8 Default value is: 1.8.User property is: maven.compiler.source. |
<target> | String | - | The -target argument for the Java compiler. NOTE: Since 3.8.0 the default value has changed from 1.5 to 1.6 Since 3.9.0 the default value has changed from 1.6 to 1.7 Since 3.11.0 the default value has changed from 1.7 to 1.8 Default value is: 1.8.User property is: maven.compiler.target. |
<encoding> | String | 2.1 | The -encoding argument for the Java compiler. Default value is: ${project.build.sourceEncoding}.User property is: encoding. |



















