Fix compilation with JDK11 58/79258/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 6 Jan 2019 23:52:06 +0000 (00:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 6 Jan 2019 23:52:06 +0000 (00:52 +0100)
This adds javax.activation and JAXB dependencies as needed.

Change-Id: I466c9ee11aef7e14686bfb02da2c95e5f2640331
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
neutron-hostconfig/ovs/pom.xml
neutron-logger/pom.xml
neutron-spi/pom.xml
northbound-api/pom.xml
transcriber/pom.xml

index c2a8318ecb1caeb885c8760924a03952aae5b6da..7217399b3373d11c7b3057b21e4fc57f782e11eb 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>
   <build>
     <plugins>
index f400ac15200cc5223828084f8701f832b35c2e75..8289636df3a13c0478ad19262cdc0d1a68037a06 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>
   <build>
     <plugins>
index aa309f03be859840ebc1414d14019a6518a776c5..b243daa540f4d90a8abb0019dd0104512b239bbe 100644 (file)
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
index 99220abb5046df6ae8d4172cdb882f77eae1cf43..2b8da07496a341802dd1deb05ab9ed9d49c59127 100644 (file)
       <artifactId>javax.inject</artifactId>
       <optional>true</optional>
     </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>
+
     <dependency>
      <groupId>org.apache.aries.blueprint</groupId>
      <artifactId>blueprint-maven-plugin-annotation</artifactId>
index a38221b9914a62f3dc0d8e7e0b9671b2fa8b8e74..260dacf113f17af327afef91fb2472390f778710 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>
   <scm>
     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>