Declare version property for maven bundle plugin, reuse it in poms and
[controller.git] / opendaylight / northbound / topology / pom.xml
index 803a28079e47939a2b09bdf62db76769e4855349..d15e4e034be6633e70644ddb197944137cbb9b62 100644 (file)
@@ -34,7 +34,7 @@
       <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
-          <version>2.3.6</version>
+          <version>${bundle.plugin.version}</version>
           <extensions>true</extensions>
           <configuration>
           <instructions>
@@ -54,6 +54,7 @@
               org.opendaylight.controller.usermanager,
               org.opendaylight.controller.topologymanager,
               com.sun.jersey.spi.container.servlet,
+              org.codehaus.jackson.annotate,
               javax.ws.rs,
               javax.ws.rs.core,
               javax.xml.bind,
@@ -64,6 +65,7 @@
               !org.codehaus.enunciate.jaxrs
             </Import-Package>
             <Web-ContextPath>/controller/nb/v2/topology</Web-ContextPath>
+            <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
           </instructions>
           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
         </configuration>