Add javanet stax-utils bundle to the odl-mdsal-common feature 76/36976/3
authorTom Pantelis <tpanteli@brocade.com>
Thu, 31 Mar 2016 18:25:05 +0000 (14:25 -0400)
committerAnil Vishnoi <vishnoianil@gmail.com>
Fri, 1 Apr 2016 20:58:49 +0000 (20:58 +0000)
Currently the stax-utils artifact is embedded internally by
sal-rest-connector so it isn't generally available. Therefore I added it
to the odl-mdsal-common feature. It is just a regular jar so I used the
wrap scheme to make it into a bundle.

Change-Id: I61909e3e55c0ccc0e3886c73a96db27c6e3664da
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
features/mdsal/pom.xml
features/mdsal/src/main/features/features.xml

index 5d31ea2..4e2076d 100644 (file)
 
   <dependencies>
 
+    <dependency>
+      <groupId>net.java.dev.stax-utils</groupId>
+      <artifactId>stax-utils</artifactId>
+    </dependency>
+
     <!-- Required features repositories -->
     <dependency>
       <groupId>org.opendaylight.odlparent</groupId>
index fab6077..b7283d0 100644 (file)
@@ -24,6 +24,7 @@
       <feature version='${yangtools.version}'>odl-yangtools-yang-data</feature>
       <feature version='${config.version}'>odl-config-api</feature>
       <feature version='${mdsal.version}'>odl-mdsal-binding-runtime</feature>
+      <bundle>wrap:mvn:net.java.dev.stax-utils/stax-utils/{{VERSION}}</bundle>
       <bundle>mvn:org.opendaylight.controller/sal-common-api/{{VERSION}}</bundle>
       <bundle>mvn:org.opendaylight.controller/sal-common-impl/{{VERSION}}</bundle>
       <bundle>mvn:org.opendaylight.controller/sal-common-util/{{VERSION}}</bundle>