Add javax.annotation-api dependencies
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Jan 2019 23:30:26 +0000 (00:30 +0100)
committerTom Pantelis <tompantelis@gmail.com>
Mon, 7 Jan 2019 16:16:41 +0000 (16:16 +0000)
Java 11 is shipping without these, hence we need to add dependecies.

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

index 78cf16a05f3443163a698cbe66f51d977fe8c46f..a54f4a2228d63bc6d673b73c48896d5ff1647321 100644 (file)
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <optional>true</optional>
+      <!-- FIXME: remove version with odlparent-4.0.8 -->
+      <version>1.2</version>
+    </dependency>
   </dependencies>
 
 </project>