Do not pull in javax.inject into runtime
[genius.git] / arputil / arputil-impl / pom.xml
index 15602df98941e48c4efb2d6617ea43d8b986e913..7b00bc41108883d1fba23b3f4339586545f23785 100644 (file)
@@ -78,9 +78,15 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
       <groupId>org.opendaylight.infrautils</groupId>
       <artifactId>metrics-api</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.opendaylight.infrautils</groupId>
+      <artifactId>inject</artifactId>
+    </dependency>
     <dependency>
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
+      <scope>provided</scope>
+      <optional>true</optional>
     </dependency>
     <!-- Testing Dependencies -->
     <dependency>