Remove unneeded dependency on odl-infrautils-inject 57/91657/2
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 26 Jul 2020 14:42:05 +0000 (16:42 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 28 Jul 2020 07:40:49 +0000 (07:40 +0000)
javax.inject should be provided by whatever runtime we work in,
hence we do not need to pull it in, nor do we need
odl-infrautils-inject.

JIRA: INFRAUTILS-65
Change-Id: I80d074c28c94e22ab75ac492bc6023e325bcf68e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/production/odl-neutron-northbound-api/pom.xml
integration/test-standalone/pom.xml
transcriber/pom.xml

index 6c26c2bdf06a61b34311b14dc5763b8fc1e0ac3a..2cf6ba195f35ebbfa8180d5bccd9d5edae84a78f 100644 (file)
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.infrautils</groupId>
-            <artifactId>odl-infrautils-inject</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.aaa</groupId>
             <artifactId>odl-aaa-shiro</artifactId>
index c38b22995ad1034969079848fbb7a1f051945202..b489662a255541b35ed005e636900fa1dedba2d8 100644 (file)
       <scope>compile</scope>
     </dependency>
 
-    <dependency>
-      <groupId>javax.inject</groupId>
-      <artifactId>javax.inject</artifactId>
-    </dependency>
-
     <dependency>
       <groupId>org.opendaylight.neutron</groupId>
       <artifactId>northbound-api</artifactId>
index d780a69df717d813dc41ba9c63735b3dac945f23..94e3d3875bbf2f1f309072d6fbb33d45b5f7e4fb 100644 (file)
@@ -78,6 +78,8 @@
     <dependency>
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
+      <scope>provided</scope>
+      <optional>true</optional>
     </dependency>
     <dependency>
       <groupId>javax.annotation</groupId>