Fix inject-guice-testutils with Java 11
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 27 Jan 2019 18:25:00 +0000 (19:25 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 27 Jan 2019 18:25:00 +0000 (19:25 +0100)
We need to have an explicit dependency on javax.annotation.

Change-Id: I932b96df8816d098738e30963852ce1751823174
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
inject-guice-testutils/pom.xml

index 89471a4bd32c8c4c839075d3560cc86c0a8a1b6a..6b699f00d1a5c8288a37de8d683ade1870a8227e 100644 (file)
       <!-- Important to enforce false because in odlparent it's true (see gerrit/c/56723) -->
       <optional>false</optional>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <optional>false</optional>
+    </dependency>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>