Eliminate odl-jolokia-osgi.version 66/89466/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 27 Apr 2020 19:56:24 +0000 (21:56 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 27 Apr 2020 19:56:24 +0000 (21:56 +0200)
This version is aligned with project.version, hence we can
drop the custom property.

Change-Id: Iaa046cfff77b1be8ebcaee1e8e8561c1fa14adc7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
features/odl-jolokia/pom.xml
features/odl-jolokia/src/main/feature/feature.xml

index d8dcb3f0ec5b0c76d1211b081fc6a824e21d46a9..0e5eaf49a2b65bb6171ac285781e128b445ca430 100644 (file)
     <artifactId>odl-jolokia</artifactId>
     <version>1.15.0-SNAPSHOT</version>
     <packaging>feature</packaging>
-
     <name>Jolokia JMX/HTTP bridge</name>
 
-    <properties>
-        <odl-jolokia-osgi.version>2.0.0-SNAPSHOT</odl-jolokia-osgi.version>
-    </properties>
-
     <dependencies>
         <dependency>
             <groupId>org.jolokia</groupId>
@@ -36,7 +31,8 @@
             <!-- finalname="/etc/org.jolokia.osgi.cfg" -->
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>odl-jolokia-osgi</artifactId>
-            <version>${odl-jolokia-osgi.version}</version>
+            <!-- Note: aligned with feature.xml content -->
+            <version>${project.version}</version>
             <type>cfg</type>
             <classifier>configuration</classifier>
         </dependency>
index 346d6f7d854afe628d6ecdd5d37f63cfb935368c..eb4d1d5bb7cf2905fac22a56b5de79df1bc5ddbf 100644 (file)
@@ -8,7 +8,7 @@
  -->
 <features name="odl-extras-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
     <feature name="odl-jolokia" version="${project.version}">
-        <configfile finalname="/etc/org.jolokia.osgi.cfg">mvn:org.opendaylight.controller/odl-jolokia-osgi/${odl-jolokia-osgi.version}/cfg/configuration</configfile>
+        <configfile finalname="/etc/org.jolokia.osgi.cfg">mvn:org.opendaylight.controller/odl-jolokia-osgi/${project.version}/cfg/configuration</configfile>
         <feature>http</feature>
     </feature>
 </features>