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 d8dcb3f..0e5eaf4 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 346d6f7..eb4d1d5 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>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.