在pom.xml的properties中加入下面设置:
忽略javadoc错误:
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
跳过生成javadoc:
<maven.javadoc.skip>true</maven.javadoc.skip>
或者在插件中配置:
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <configuration> <failOnError>false</failOnError> <skip>true</skip> </configuration> </plugin>
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END