Skip to content

Commit

Permalink
deps: Update osgi.annotation dependency to 8.1.0 (#732)
Browse files Browse the repository at this point in the history
Version 8.1.0 removes the use of enum types in the annotations which
avoids compiler warnings for downstream users of the api jar.

We also include osgi.annotation in the tck project to make the
annotation classes available to javadoc to avoid warnings.

Signed-off-by: BJ Hargrave <[email protected]>
  • Loading branch information
bjhargrave authored Feb 11, 2022
1 parent 19446fb commit 18d1b92
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
<dependencyManagement>
<dependencies>
<!-- TODO - Investigate BND Dependencies-->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.annotation</artifactId>
<version>8.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>biz.aQute.bnd.annotation</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<artifactId>microprofile-config-api</artifactId>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.annotation</artifactId>
</dependency>

<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
Expand Down

0 comments on commit 18d1b92

Please sign in to comment.