Specify explicit javax.ws.rs version in yanglib
[netconf.git] / netconf / yanglib / pom.xml
index 58eb8bb640a750a9d3576033e9bfca87f4938d36..1bcc7b371c627217a14c1895dbbc50019242988a 100644 (file)
                 <configuration>
                     <instructions>
                         <Bundle-Name>YangLib</Bundle-Name>
-                        <Import-Package>*,
-                            com.sun.jersey.spi.container.servlet, org.eclipse.jetty.servlets</Import-Package>
+                        <Import-Package>
+                            com.sun.jersey.spi.container.servlet,
+                            org.eclipse.jetty.servlets,
+                            !javax.annotation,
+                            javax.ws.rs.*;version="[1.1.0,2.0.0)",
+                            *
+                        </Import-Package>
                         <Web-ContextPath>/yanglib</Web-ContextPath>
                     </instructions>
                 </configuration>