HBASE-19663 javadoc creation needs jsr305.

Some javadoc invocations require that annotations we reference can have any
classes they reference resolved. This includes annotations _they_ have,
even though annotations are normally optional.

In some cases this showed up as javax.annotation.meta.TypeQualifierNickname
not found, because some findbugs annotations use it. Other times it was
javax.annotation.concurrent.Immutable not found, because some old guava
versions use it.

(updated for master branch by doing the config in report config instead of plugin)

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
(cherry picked from commit f0d66273cd)
This commit is contained in:
Sean Busbey 2019-10-16 10:31:47 -05:00
parent 6f1992f32f
commit 9a77aad60c
No known key found for this signature in database
GPG Key ID: A926FD051016402D
1 changed files with 24 additions and 0 deletions

24
pom.xml
View File

@ -4016,6 +4016,12 @@
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</additionalDependency>
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
<additionalDependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</additionalDependency>
</additionalDependencies>
<inherited>false</inherited>
</configuration>
@ -4059,6 +4065,12 @@
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</additionalDependency>
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
<additionalDependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</additionalDependency>
</additionalDependencies>
<inherited>false</inherited>
</configuration>
@ -4114,6 +4126,12 @@
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</additionalDependency>
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
<additionalDependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</additionalDependency>
</additionalDependencies>
<inherited>false</inherited>
</configuration>
@ -4168,6 +4186,12 @@
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</additionalDependency>
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
<additionalDependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</additionalDependency>
</additionalDependencies>
<inherited>false</inherited>
</configuration>