Skip to content

Commit

Permalink
Update maven-javadoc-plugin to 3.0.1 and disable doclint. (#4167)
Browse files Browse the repository at this point in the history
3.0.0 introduced a setting to disable doclint via config instead of a
necessitating a conditional profile based on the java version.
  • Loading branch information
chingor13 authored Dec 4, 2018
1 parent 50a8533 commit 619700a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 29 deletions.
4 changes: 2 additions & 2 deletions google-api-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.0.1</version>
<reportSets>
<reportSet>
<id>html</id>
Expand Down Expand Up @@ -927,7 +927,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down
12 changes: 0 additions & 12 deletions google-cloud-clients/google-cloud-bigtable-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,6 @@
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<!-- add this to disable checking -->
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
Expand Down
12 changes: 0 additions & 12 deletions google-cloud-clients/google-cloud-bigtable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,6 @@
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<!-- add this to disable checking -->
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
Expand Down
7 changes: 5 additions & 2 deletions google-cloud-clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.0.1</version>
<reportSets>
<reportSet>
<id>html</id>
Expand All @@ -743,6 +743,7 @@
</reportSet>
</reportSets>
<configuration>
<doclint>false</doclint>
<aggregate>true</aggregate>
<show>protected</show>
<nohelp>true</nohelp>
Expand Down Expand Up @@ -851,6 +852,7 @@
</reportSet>
</reportSets>
<configuration>
<doclint>false</doclint>
<show>protected</show>
<nohelp>true</nohelp>
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
Expand Down Expand Up @@ -912,7 +914,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -925,6 +927,7 @@
<links>
<link>http://google.github.io/google-auth-library-java/releases/latest/apidocs/</link>
</links>
<doclint>false</doclint>
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion google-cloud-testing/google-cloud-bigtable-emulator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -147,6 +147,7 @@
<links>
<link>http://google.github.io/google-auth-library-java/releases/latest/apidocs/</link>
</links>
<doclint>false</doclint>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 619700a

Please sign in to comment.