Skip to content

Commit 8274eed

Browse files
snowpjoeyb
authored andcommitted
build: update jacoco to support java 11 (#74)
This allows java-control-plane to build under 11. The annotation-api dependency was added to work around grpc/grpc-java#3633 Signed-off-by: Snow Pettersen <[email protected]>
1 parent ce8b646 commit 8274eed

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

api/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
<artifactId>grpc-stub</artifactId>
2727
<version>${grpc.version}</version>
2828
</dependency>
29+
30+
<dependency>
31+
<groupId>javax.annotation</groupId>
32+
<artifactId>javax.annotation-api</artifactId>
33+
<version>${annotation-api.version}</version>
34+
</dependency>
35+
2936
</dependencies>
3037

3138
<build>

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2323

2424
<!-- Dependency Versions -->
25+
<annotation-api.version>1.3.2</annotation-api.version>
2526
<assertj.version>3.10.0</assertj.version>
2627
<auto-value.version>1.6</auto-value.version>
2728
<awaitility.version>3.1.0</awaitility.version>
@@ -34,7 +35,7 @@
3435
<testcontainers.version>1.7.3</testcontainers.version>
3536

3637
<!-- Maven Plugin Versions -->
37-
<jacoco-maven-plugin.version>0.8.0</jacoco-maven-plugin.version>
38+
<jacoco-maven-plugin.version>0.8.2</jacoco-maven-plugin.version>
3839
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
3940
<maven-failsafe-plugin.version>2.21.0</maven-failsafe-plugin.version>
4041
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>

0 commit comments

Comments
 (0)