java - Error with Pax runner -
I am using the Maven Packs plugin to start the Equinox container within which my OCBB bundles should be deployed. Felix Container I have explicitly instructed to start a Equinox container. This is my pack plugin configuration in the POM file
& lt; Plugin & gt; & Lt; Group & gt; Org.ops4j & lt; / Group & gt; & Lt; ArtifactId & gt; Maven-Packs-plugin & lt; / ArtifactId> & Lt; Version & gt; 1.4 & lt; / Edition & gt; & Lt; Configuration & gt; & Lt; Runnner & gt; 1.4.0 & lt; / Runnner & gt; & Lt; Frame & gt; Equine & lt; / Frame & gt; & Lt; Provisioning & gt; & Lt; Param & gt; - Log = Debug & lt; / Param & gt; & Lt; Param> gt; Definition URL = File: C: \ User \ 661447 \ Desktop \ Principal Workspace \ OSGiDmHelloWorldProvider \ platform.xml & lt; / Param & gt; & Lt; / Provisioning & gt; & Lt; / Configuration & gt; & Lt; / Plugin & gt; I have also clearly defined the platform definition. This is my platform.xml file
& lt; Platform & gt; & Lt; Name & gt; Equinox 3.7.0 & lt; / Name & gt; & Lt; System & gt; Http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi_3.7.0.v20110613.jar & lt; / System & gt; & Lt; Profile name = "minimum" default = "true" & gt; & Lt; Bundle & gt; & Lt; Name & gt; OSGI Services & lt; / Name & gt; & Lt; URL & gt; Http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi.services_3.3.0.v20110513.jar & lt; / Url & gt; & Lt; / Bundle & gt; & Lt; / Profile & gt; & Lt; / Platform & gt; Now, when I try to install my bundle via "mvn install pax: provision" command, I get the following error -> Framework [Equinox 3.8.1] - & gt; Loading from the URL file definition: C: / User / 661447 / Desktop / Prime Workspace / OSG IDMHollowWorldProvider / Platform. XML - & gt; Using platform definition [org.ops4j.pax.runner.platform.internal.PlatformDe finitionImpl @ a10ea2] - & gt; Working directory [runner] - & gt; Download bundles ... - & gt; Download System Package - & gt; Download [http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/ org.eclipse.osgi_3.7.0.v20110613.jar] - & gt; Creating new file on destination: C: \ Users \ 661447 \ Desktop \ Prime Workspace \ OS GiDmHelloWorldProvider \ runner \ bundles \ -31806645.jar - & gt; Equinox 3.7.0: Connecting ... ___ / / / / Oh, a problem has occurred! //// __ / 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 ___ / __ / - & gt; Exceptions 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] can not be downloaded Can anyone help me? Thanks in advance
If you use a proxy, you define proxy system properties for the packs-runner Here's how: Click Http.proxyHost and http.proxyPort . Pax-Runner uses proxy properties to resolve / download artifacts described with HTTP (s) URLs.
Comments
Post a Comment