use BOM in odl-transportpce feature pom 11/93111/1
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 14:53:37 +0000 (14:53 +0000)
instead of specifying the right version each time

JIRA: TRNSPRTPCE-346
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I23c08594c6483d090d75f66f0c639528f22802ca
(cherry picked from commit a0136e44a34e87726e92f832a32cb343cf9393c4)

features/odl-transportpce/pom.xml

index 30a0b016d5cf818ce955dac1735dc4bffdd02f4e..2c79892bf4e8532623635125676ec99a8e3e28c3 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>