I'm pretty new to the OSGI, Felix and Maven stuffs, just started with it. I'm deploying the java build through jenkins and I get the below dependency issue.
Below is the pom file contents which includes the dependency, I'm not sure whether it is correct, but it still complains about it.
It is looking for "javax.jws" and the version is between 2.0 and 3.0
javax.jws;version>="2.0.0",!javax.jws;version>="3.0.0"
Below is the pom contents.
<Import-Package>!sun.misc,!org.apache.avalon.framework.logger,
!org.ietf.jgss,!org.apache.log,!org.apache.log.format,!org.apache.log.output.io,!com.werken.xpath,!org.apache.tools.ant,!org.apache.tools.ant.taskdefs,
!org.jdom,!org.jdom.input,!org.jdom.output,com.mblox.ngp.sal*;
version="${sal-utils-version}",org.apache.commons.logging;version="1.1",
javax.jws;version>="2.0.0",!javax.jws;version>="3.0.0",
com.sun.xml.ws.api.message,*
</Import-Package>
Below is the exception that I get:
[#|2013-01-29 11:07:44,109|ERROR|NGP-SAL-SALBootstrap-SAL-0|com.mblox.ngp.sal.platform.impl.Sal|172.18.36.38|slodev-rhatf4.mblox.com|sal-1|Unresolved constraint in bundle sap-ws-netcom [24]: Un
able to resolve 24.0: missing requirement [24.0] package; (&(package=javax.jws)(version>=2.0.0)(version>=2.0.0)(!(version>=3.0.0))) - [24.0] package; (&(package=javax.jws)(version>=2.0.0)(versi
on>=2.0.0)(!(version>=3.0.0)))|#]
org.osgi.framework.BundleException: Unresolved constraint in bundle sap-ws-netcom [24]: Unable to resolve 24.0: missing requirement [24.0] package; (&(package=javax.jws)(version>=2.0.0)(version
>=2.0.0)(!(version>=3.0.0))) - [24.0] package; (&(package=javax.jws)(version>=2.0.0)(version>=2.0.0)(!(version>=3.0.0)))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at com.mblox.ngp.sal.platform.impl.Sal.installBundle(Sal.java:608)
at com.mblox.ngp.sal.platform.impl.Sal.getBundle(Sal.java:481)
at com.mblox.ngp.sal.platform.impl.Sal.installSap(Sal.java:630)
at com.mblox.ngp.sal.platform.impl.Sal.initSapBundles(Sal.java:545)
at com.mblox.ngp.sal.platform.impl.Sal.start(Sal.java:290)
at com.mblox.ngp.sal.platform.impl.SALBootstrap.call(SALBootstrap.java:64)
at com.mblox.ngp.sal.platform.impl.SALBootstrap.call(SALBootstrap.java:24)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Any suggestions or pointers to solve this issue.