Add missing annotation dependencies for Java 11 16/80016/9
authorStephen Kitt <skitt@redhat.com>
Wed, 30 Jan 2019 09:41:14 +0000 (10:41 +0100)
committerStephen Kitt <skitt@redhat.com>
Wed, 13 Feb 2019 14:40:19 +0000 (15:40 +0100)
... and drop an extraneous CORBA import!

Change-Id: I9062d07f9b9af3eb35c99bb0c4697b8e6fac33eb
Signed-off-by: Stephen Kitt <skitt@redhat.com>
12 files changed:
bgpmanager/impl/src/main/java/org/opendaylight/netvirt/bgpmanager/commands/Multipath.java
cloud-servicechain/impl/pom.xml
coe/impl/pom.xml
commons/binding-parent/pom.xml
dhcpservice/impl/pom.xml
fibmanager/impl/pom.xml
ipv6service/impl/pom.xml
natservice/impl/pom.xml
neutronvpn/impl/pom.xml
policyservice/impl/pom.xml
statemanager/impl/pom.xml
statistics/impl/pom.xml

index a8b19b677709c22f473512896c324f641995b044..ed501448669f0c515589efec778487c72fceef2d 100644 (file)
@@ -12,7 +12,6 @@ import org.apache.karaf.shell.commands.Argument;
 import org.apache.karaf.shell.commands.Command;
 import org.apache.karaf.shell.commands.Option;
 import org.apache.karaf.shell.console.OsgiCommandSupport;
-import org.omg.CORBA.Object;
 import org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager;
 import org.opendaylight.netvirt.bgpmanager.thrift.gen.af_afi;
 import org.opendaylight.netvirt.bgpmanager.thrift.gen.af_safi;
index 8ed491a836f3fdeac80762035df9f1d2f1acdf9a..9b3f1b31b10dceee1439fe532b67888aa3b92d86 100644 (file)
@@ -27,6 +27,7 @@
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
index 1b62d350d7679ccba67ab220eec3295a484e8347..83281d82ec188f9cb0a6c4f463e08be82c61d0c3 100644 (file)
@@ -24,6 +24,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.coe</groupId>
index 88a9c2bc75012cf89ebade4d922b2cf476d23dde..69c469cc5fa377fdb7ad631a8475aa7eb9f060d8 100644 (file)
@@ -58,6 +58,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
+    <!-- Ensure that annotation dependencies are optional throughout -->
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>javax.annotation-api</artifactId>
+      <optional>true</optional>
+    </dependency>
   </dependencies>
 
   <build>
index 37d850a7c7e87ce21df722ecdf2a075932fe9bd1..f1098ba431dda22bb1846b164c1479aed24b46ed 100644 (file)
@@ -25,6 +25,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>commons-net</groupId>
index 36ac3d07613d5301c8ac4b2e7bac4088834fe242..540a1d4b052743837b9105d38d3e8a0891eaf2cb 100644 (file)
@@ -29,6 +29,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.genius</groupId>
index 0ff4c115bf27c8a1efe94f85cde4e5c7d4612ad6..6636d48ab83d6661874b51d3eb7bbba66b5be16f 100644 (file)
@@ -25,6 +25,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
index 894c0a3054d9978c8838c832da1279b7fb805531..ef8c87155a6d6e4343e95d71c54a71bf7196779c 100644 (file)
@@ -33,6 +33,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
index 1306e36c34a463fc919ebfb97ed3f1e44311d05f..37c62eead74c559c96ffb1c91b92c64f78a7453d 100644 (file)
@@ -33,6 +33,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.genius</groupId>
index 16b0ee6fd09dde593b4ae19664621aff39bec211..bbd259cca21775b78e5acc99ff71e720fd532541 100644 (file)
@@ -25,6 +25,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.genius</groupId>
index e430459eeb9ecf23eb71086c81d6821df74351fe..807d612fecf72507987621eb0f54149ce1f489ac 100644 (file)
@@ -29,6 +29,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
index 1684c8070bc0f09fce592c4b8bcd8c114b76bade..74dd3ae7c1bc818b71f8b8096f4fd4fb37aba539 100644 (file)
@@ -24,6 +24,7 @@ at http://www.eclipse.org/legal/epl-v10.html
         <dependency>
             <groupId>javax.inject</groupId>
             <artifactId>javax.inject</artifactId>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.genius</groupId>