一、MAVEN编译打包直接关闭javadoc的lint验证
maven执行生成javadoc报错 MavenReportException
MavenReportException: Error while generating Javadoc
一般是javadoc的锅,直接关闭javadoc的lint,在pom.xml里修改
例:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.2</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration> <!-- add this to disable checking -->
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>