Skip to content

Commit

Permalink
HBASE-19663 javadoc creation needs jsr305.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
busbey committed May 29, 2020
1 parent bda2094 commit f0d6627
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit f0d6627

Please sign in to comment.