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>
This commit is contained in:
Sean Busbey 2019-10-16 10:31:47 -05:00
parent bda2094ae5
commit f0d66273cd
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

@ -3772,6 +3772,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>
@ -3815,6 +3821,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>
@ -3870,6 +3882,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>
@ -3924,6 +3942,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>