I am using Maven pax plugin to start equinox container within which my osgi bundles should be deployed.As pax runner by default starts a felix container I have explicitly given instructions to start an equinox container. This is my pax plugin configuration in POM file
org.ops4jmaven-pax-plugin1.41.4.0equinox
--log=debug
--definitionURL=file:C:\Users\661447\Desktop\Prime Workspace\OSGiDmHelloWorldProvider\platform.xml
I have explicitly given the platform definition too. This is my platform.xml file
Equinox 3.7.0
http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi_3.7.0.v20110613.jar
OSGi Services
http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi.services_3.3.0.v20110513.jar
Now, when I try to install the my bundle through the command **"mvn install pax:provision"**, I am getting the following error
-> Preparing framework [Equinox 3.8.1]
-> loading definition from url file:C:/Users/661447/Desktop/Prime Workspace/OSG
iDmHelloWorldProvider/platform.xml
-> Using platform definition [org.ops4j.pax.runner.platform.internal.PlatformDe
finitionImpl@a10ea2]
-> Using working directory [runner]
-> Downloading bundles...
-> Download system package
-> Downloading [http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-2011061
31736/org.eclipse.osgi_3.7.0.v20110613.jar]
-> Creating new file at destination: C:\Users\661447\Desktop\Prime Workspace\OS
GiDmHelloWorldProvider\runner\bundles\-31806645.jar
-> Equinox 3.7.0 : connecting...
___
/ /
/ / Oops, there has been a problem!
/ /
/__/ org.ops4j.pax.runner.platform.PlatformException: [http://mirror.netc
ologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi_3.7.0.v20110
613.jar] could not be downloaded
___
/__/
-> Exception caught during execution:
java.lang.RuntimeException: org.ops4j.pax.runner.platform.PlatformException: [ht
tp://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.o
sgi_3.7.0.v20110613.jar] could not be downloaded
Could someone help me out.? Thanks in advance I suggest asking such question at the ops4j mailinglist you probably get a better feedback there.