Eliminate {infra,service}utils.version 90/85390/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Oct 2019 12:31:59 +0000 (14:31 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Nov 2019 16:11:02 +0000 (17:11 +0100)
Rather than going through properties, use foo-artifacts to get
proper version declarations into dependencyManagement. This cleans
up version management a bit.

Change-Id: Ib2cf7bdd44235a9659c07bfd75ee29de29e3f863
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
14 files changed:
applications/arbitratorreconciliation/impl/pom.xml
applications/bulk-o-matic/pom.xml
applications/forwardingrules-manager/pom.xml
applications/lldp-speaker/pom.xml
applications/of-switch-config-pusher/pom.xml
applications/table-miss-enforcer/pom.xml
extension/test-extension/pom.xml
features-aggregator/odl-openflowplugin-southbound/pom.xml
openflowjava/openflow-protocol-api/pom.xml
openflowjava/openflow-protocol-impl/pom.xml
openflowplugin-api/pom.xml
openflowplugin-impl/pom.xml
parent/pom.xml
samples/learning-switch/pom.xml

index bd96f27934cc43a8dbd2886d80f3a530150f5dad..ba4e2df4535898036f939eca233b11e18732f6ea 100644 (file)
@@ -20,7 +20,6 @@
         <dependency>
             <groupId>org.opendaylight.serviceutils</groupId>
             <artifactId>upgrade</artifactId>
-            <version>${serviceutils.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.inject</groupId>
index 6a8db7442944a18e555f96fe451147d86589d6b6..581aa3cd37e19cac2d51c8b4e4663e87f6a523e0 100644 (file)
@@ -32,7 +32,6 @@
     <dependency>
       <groupId>org.opendaylight.infrautils</groupId>
       <artifactId>infrautils-util</artifactId>
-      <version>${infrautils.version}</version>
     </dependency>
   </dependencies>
 
index c3f933127faf9a0af6622ad422cd55ba124a2586..c071ed3d8eb3c7ecbf9ee0f8cb9f8a749169dc17 100644 (file)
@@ -36,7 +36,6 @@
     <dependency>
       <groupId>org.opendaylight.serviceutils</groupId>
       <artifactId>srm-api</artifactId>
-      <version>${serviceutils.version}</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.openflowplugin.model</groupId>
@@ -65,7 +64,6 @@
     <dependency>
       <groupId>org.opendaylight.infrautils</groupId>
       <artifactId>infrautils-util</artifactId>
-      <version>${infrautils.version}</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal</groupId>
index 24aa3015b4c515140e3f3aa05f4887d390b233fb..1aa9da25ec569bb2d8847bc6dc913f88952161c9 100644 (file)
@@ -61,7 +61,6 @@
         <dependency>
           <groupId>org.opendaylight.infrautils</groupId>
           <artifactId>infrautils-util</artifactId>
-          <version>${infrautils.version}</version>
         </dependency>
     </dependencies>
 
index c62925ffff3c7b20a53d83e2ccee28662ae647db..9e736e8e951d000f2fd3d61719f59ccaef83e8ed 100644 (file)
@@ -41,7 +41,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>infrautils-util</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.inject</groupId>
index fc4af23d466f7569beef3e0c420c9693f54e9a1d..032af3e428e6d68eb4df8d867c319f7c631e5f5b 100644 (file)
@@ -42,7 +42,6 @@
       <dependency>
           <groupId>org.opendaylight.infrautils</groupId>
           <artifactId>infrautils-util</artifactId>
-          <version>${infrautils.version}</version>
       </dependency>
       <dependency>
           <groupId>org.opendaylight.openflowplugin.applications</groupId>
index cea1a012ab37e97e40dcfba2851bc242c6deed37..37ce747b1315d9753cd34a002c5f72399004feb9 100644 (file)
@@ -58,7 +58,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>infrautils-util</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
 
         <!-- OpenFlowJava-API models -->
index 5e1cb5f7171d921b29c3b106ec2f8f4cb68ce81f..68d1d95c34e4db04a98aa01b6f688d8eb969ffcd 100644 (file)
 
     <name>OpenDaylight :: Openflow Plugin :: Li southbound API implementation</name>
 
-    <properties>
-        <mdsal.version>1.11.0-SNAPSHOT</mdsal.version>
-        <lldp.version>0.18.0-SNAPSHOT</lldp.version>
-        <infrautils.version>1.7.0-SNAPSHOT</infrautils.version>
-        <serviceutils.version>0.5.0-SNAPSHOT</serviceutils.version>
-    </properties>
-
     <dependencyManagement>
         <dependencies>
             <!-- This project -->
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>mdsal-artifacts</artifactId>
-                <version>${mdsal.version}</version>
+                <version>1.11.0-SNAPSHOT</version>
+                <scope>import</scope>
+                <type>pom</type>
+            </dependency>
+            <dependency>
+                <groupId>org.opendaylight.infrautils</groupId>
+                <artifactId>infrautils-artifacts</artifactId>
+                <version>1.7.0-SNAPSHOT</version>
+                <scope>import</scope>
+                <type>pom</type>
+            </dependency>
+            <dependency>
+                <groupId>org.opendaylight.serviceutils</groupId>
+                <artifactId>serviceutils-artifacts</artifactId>
+                <version>0.5.0-SNAPSHOT</version>
                 <scope>import</scope>
                 <type>pom</type>
             </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>odl-mdsal-broker</artifactId>
-            <version>${mdsal.version}</version>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>odl-infrautils-diagstatus</artifactId>
-            <version>${infrautils.version}</version>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.serviceutils</groupId>
             <artifactId>odl-serviceutils-tools</artifactId>
-            <version>${serviceutils.version}</version>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.serviceutils</groupId>
             <artifactId>odl-serviceutils-srm</artifactId>
-            <version>${serviceutils.version}</version>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
index fc6f26653d3829b1e3c40324581fc97bb563fc37..d5b8453307a7044256e93170655d974589a71a69 100644 (file)
@@ -48,8 +48,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>diagstatus-api</artifactId>
-            <version>${infrautils.version}</version>
-            <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
index 8cf2d0a0887420a9fc777dff27c87199e9a5123c..fdb7251c6b181cacc7678a3c73a481b945c61093 100644 (file)
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>infrautils-util</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>com.google.guava</groupId>
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>diagstatus-api</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
index 06a8494c916530831745b3dd5a0b0ac1033f2501..75e063e08db3a2c507b2a5732159030092387166 100644 (file)
@@ -49,7 +49,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>diagstatus-api</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal</groupId>
index 11b5e175f74b5159a778bc8bc97a28a940451570..9e589896b9610abbeb0d30403129d843be256b11 100644 (file)
@@ -59,7 +59,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>diagstatus-api</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.aries.blueprint</groupId>
index 6b51a64282e1baefda92c4a34a3ce738e83b4869..3b9ed5fac445c3024d1b7a73a5522e1a25c3a2aa 100644 (file)
         <tag>HEAD</tag>
     </scm>
 
-    <properties>
-        <infrautils.version>1.7.0-SNAPSHOT</infrautils.version>
-        <serviceutils.version>0.5.0-SNAPSHOT</serviceutils.version>
-    </properties>
-
     <dependencyManagement>
         <dependencies>
             <dependency>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.infrautils</groupId>
+                <artifactId>infrautils-artifacts</artifactId>
+                <version>1.7.0-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.opendaylight.serviceutils</groupId>
+                <artifactId>serviceutils-artifacts</artifactId>
+                <version>0.5.0-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <!-- thirdparty -->
             <dependency>
                 <groupId>net.sourceforge.argparse4j</groupId>
index 747ae7e07ba6c2dbd7f6d4b9f65e5cfc4f84c4a0..d0ce4288ffdabbbd64ddeb8d2895a6a23e97ca5d 100644 (file)
@@ -59,7 +59,6 @@
         <dependency>
             <groupId>org.opendaylight.infrautils</groupId>
             <artifactId>infrautils-util</artifactId>
-            <version>${infrautils.version}</version>
         </dependency>
     </dependencies>
 </project>