* Fix doclint option.
* Remove unneeded configuration
This commit is contained in:
Darren Forsythe 2018-12-19 05:57:13 +00:00 коммит произвёл Pan Li
Родитель 4045eab8d7
Коммит 0cda54a580
1 изменённых файлов: 38 добавлений и 20 удалений

Просмотреть файл

@ -36,6 +36,7 @@
<azuremonitor.micrometer.registry.version>1.1.0</azuremonitor.micrometer.registry.version>
<micrometer.core.version>1.1.0</micrometer.core.version>
<spring-boot-actuator-autoconfigure.version>2.0.3.RELEASE</spring-boot-actuator-autoconfigure.version>
<maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
</properties>
<profiles>
@ -44,9 +45,21 @@
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
@ -110,6 +123,28 @@
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<show>private</show>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<resources>
<resource>
<directory>src/main/resources</directory>
@ -120,22 +155,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<show>private</show>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -231,5 +250,4 @@
</plugin>
</plugins>
</build>
</project>