Hi Team, In continuation to problem stated in following thread:
https://www.mail-archive.com/controller-dev@lists.opendaylight.org/msg00671.html I tried following Micheal Vorburger's comment to use maven-bundle-plugin in my impl package's pom.xml <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>3.3.0</version> <extensions>true</extensions> <configuration> <instructions> <Import-Package> * </Import-Package> <Export-Package> !com.fasterxml.jackson.*, !org.apache.tapestry5.json, * </Export-Package> </instructions> </configuration> </plugin> And updated my features.xml with required dependencies : <bundle>wrap:mvn:com.jayway.jsonpath/json-path/2.4.0</bundle> <bundle>wrap:mvn:net.minidev/json-smart/2.2.1</bundle> <bundle>wrap:mvn:net.minidev/accessors-smart/1.1</bundle> <bundle>wrap:mvn:com.google.code.gson/gson/2.3.1</bundle> <bundle>wrap:mvn:com.googlecode.json-simple/json-simple/1.1.1</bundle> Still my bundle is in "Installed" state as its required bundle for json-path is also in "Installed" state: opendaylight-user@root>Bundle:tree-show 203 Bundle com.jayway.jsonpath.json-path [203] is currently INSTALLED - import org.json;resolution:=optional: resolved using json_20160810.0.0 [202] - import org.json;resolution:=optional: resolved using wrap_mvn_org.json_json_20131018_0.0.0 [250] - import com.google.gson;resolution:=optional;version="[2.3,3)": resolved using com.google.gson_2.3.1 [77] - import com.google.gson.reflect;resolution:=optional;version="[2.3,3)": resolved using com.google.gson_2.3.1 [77] - import com.fasterxml.jackson.core;resolution:=optional;version="[2.6,3)": WARNING - unable to find matching export - import com.fasterxml.jackson.databind;resolution:=optional;version="[2.6,3)": WARNING - unable to find matching export - import com.fasterxml.jackson.databind.node;resolution:=optional;version="[2.6,3)": WARNING - unable to find matching export - import com.fasterxml.jackson.databind.type;resolution:=optional;version="[2.6,3)": WARNING - unable to find matching export - import org.apache.tapestry5.json;resolution:=optional: WARNING - unable to find matching export - import org.codehaus.jettison.json;resolution:=optional;version="[1.3,2)": WARNING - unable to find matching export - import net.minidev.json;version="[2.3,3)": WARNING - unable to find matching export - import net.minidev.json.parser;version="[2.3,3)": WARNING - unable to find matching export - import net.minidev.json.writer;version="[2.3,3)": WARNING - unable to find matching export - import org.slf4j;version="[1.7,2)": resolved using org.ops4j.pax.logging.pax-logging-api_1.8.4 [3] - import org.slf4j;version="[1.7,2)": resolved using org.ops4j.pax.logging.pax-logging-api_1.8.4 [3] Warning: the below tree is a rough approximation of a possible resolution com.jayway.jsonpath.json-path [203] +- json [202] +- wrap_mvn_org.json_json_20131018 [250] +- com.google.gson [77] +- org.ops4j.pax.logging.pax-logging-api [3] +- org.apache.felix.eventadmin [37] | +- org.apache.felix.eventadmin [37] | +- org.apache.felix.configadmin [6] | +- org.apache.felix.configadmin [6] +- org.ops4j.pax.logging.pax-logging-api [3] Kindly suggest. Regards, Abhishek
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev