use BOM in odl-transportpce feature pom 98/93098/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 16 Oct 2020 14:47:15 +0000 (16:47 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 20 Oct 2020 12:43:39 +0000 (14:43 +0200)
instead of specifying the right version each time

JIRA: TRNSPRTPCE-346
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I23c08594c6483d090d75f66f0c639528f22802ca

features/odl-transportpce/pom.xml

index ec7ef780bf9beb3dd0fda319f696828a5986d53e..36b6f99faa72ab6f873cf68458997238173c8c91 100644 (file)
@@ -26,10 +26,22 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <properties>
     <controller.version>2.0.4</controller.version>
     <netconf.version>1.9.1-SNAPSHOT</netconf.version>
-    <restconf.version>1.12.1-SNAPSHOT</restconf.version>
     <configfile.directory>etc/opendaylight/karaf</configfile.directory>
   </properties>
 
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.netconf</groupId>
+                <artifactId>netconf-artifacts</artifactId>
+                <version>${netconf.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
   <dependencies>
     <dependency>
       <groupId>${project.groupId}.ordmodels</groupId>
@@ -86,7 +98,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
       <artifactId>transportpce-servicehandler</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>odl-mdsal-broker</artifactId>
@@ -97,21 +108,18 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
     <dependency>
       <groupId>org.opendaylight.netconf</groupId>
       <artifactId>odl-restconf-all</artifactId>
-      <version>${restconf.version}</version>
       <classifier>features</classifier>
       <type>xml</type>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.netconf</groupId>
       <artifactId>odl-netconf-all</artifactId>
-      <version>${netconf.version}</version>
       <classifier>features</classifier>
       <type>xml</type>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.netconf</groupId>
       <artifactId>odl-netconf-connector-all</artifactId>
-      <version>${netconf.version}</version>
       <classifier>features</classifier>
       <type>xml</type>
     </dependency>