问题
从github上clone的代码本地编译打包是提示Fatal error compiling: 无效的标记: --release -> [Help 1]
解决方法
降低maven-compiler-plugin插件的版本, 改为3.3, 配置如下
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<release>8</release>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${version.lombok}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
标签:Help,--,maven,compiling,error,Fatal
From: https://www.cnblogs.com/iminifly/p/16625349.html