<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<!-- javadoc插件2.10.2 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.2</version>
<configuration>
<outputDirectory>${parentDir}/target/javadocs/${project.artifactId}</outputDirectory>
<charset>UTF-8</charset><!-- utf-8读取文件 -->
<encoding>UTF-8</encoding><!-- utf-8进行编码代码 -->
<docencoding>UTF-8</docencoding><!-- utf-8进行编码文档 -->
</configuration>
<executions>
<execution>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<additionalJOptions>
<additionalJOption>
-Xdoclint:none
</additionalJOption>
<additionalJOption>
-J-Dfile.encoding=GBK
</additionalJOption>
</additionalJOptions>
<!-- javadoc插件3.2.0版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<outputDirectory>${parentDir}/target/javadocs/${project.artifactId}</outputDirectory>
<charset>UTF-8</charset><!-- utf-8读取文件 -->
<encoding>UTF-8</encoding><!-- utf-8进行编码代码 -->
<docencoding>UTF-8</docencoding><!-- utf-8进行编码文档 -->
</configuration>
<executions>
<execution>
<configuration>
<additionalJOptions>
<additionalJOption>
-Xdoclint:none
</additionalJOption>
<additionalJOption>
-J-Dfile.encoding=utf-8
</additionalJOption>
</additionalJOptions>
</configuration>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>