Add missing annotation dependencies for Java 11
[netvirt.git] / dhcpservice / impl / pom.xml
index 4db13fd75c3a8fcf4cb03b6356827aa13c592f57..f1098ba431dda22bb1846b164c1479aed24b46ed 100644 (file)
@@ -11,9 +11,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
     <parent>
         <groupId>org.opendaylight.netvirt</groupId>
-        <artifactId>managed-tx-parent</artifactId>
-        <version>0.7.0-SNAPSHOT</version>
-        <relativePath>../../commons/managed-tx-parent</relativePath>
+        <artifactId>binding-parent</artifactId>
+        <version>0.9.0-SNAPSHOT</version>
+        <relativePath>../../commons/binding-parent</relativePath>
     </parent>
 
     <artifactId>dhcpservice-impl</artifactId>
@@ -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>
@@ -73,11 +74,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>mdsalutil-api</artifactId>
             <version>${genius.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.infrautils</groupId>
-            <artifactId>counters-api</artifactId>
-            <version>${infrautils.version}</version>
-        </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>dhcpservice-api</artifactId>
@@ -103,6 +99,10 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>hwvtepsouthbound-api</artifactId>
             <version>${ovsdb.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.serviceutils</groupId>
+            <artifactId>tools-api</artifactId>
+        </dependency>
     </dependencies>
 
     <build>