Java Pax runner出错

Java Pax runner出错,java,maven,osgi,equinox,pax-runner,Java,Maven,Osgi,Equinox,Pax Runner,我正在使用Maven pax插件启动equinox容器,我的osgi捆绑包应该部署在该容器中。由于pax runner默认启动felix容器,我已经明确给出了启动equinox容器的说明。这是我在POM文件中的pax插件配置 <plugin> <groupId>org.ops4j</groupId> <artifactId>maven-pax-plugin</artifactId

我正在使用Maven pax插件启动equinox容器,我的osgi捆绑包应该部署在该容器中。由于pax runner默认启动felix容器,我已经明确给出了启动equinox容器的说明。这是我在POM文件中的pax插件配置

<plugin>
                <groupId>org.ops4j</groupId>
                <artifactId>maven-pax-plugin</artifactId>
                <version>1.4</version>
                <configuration>
                    <runnner>1.4.0</runnner>
                    <framework>equinox</framework>
                    <provision>
                        <param>--log=debug</param> 
                            <param>--definitionURL=file:C:\Users\661447\Desktop\Prime Workspace\OSGiDmHelloWorldProvider\platform.xml</param>               

                    </provision>
                </configuration>
            </plugin>

有人能帮我吗。?提前感谢

如果您使用代理,您必须为pax runner定义代理系统属性:http.proxyHosthttp.proxyPort。Pax Runner使用代理属性解析/下载使用http(s)URL描述的工件

我建议在ops4j邮件列表中问这样的问题,你可能会得到更好的反馈。代理真实http my_用户名my_密码[myHost]8080是否正确?这些设置仅适用于maven。在平台定义中使用直接http链接。尝试运行“mvn-Dhttp.proxyHost=…-Dhttp.proxyPort=…pax:provision”非常感谢!!!成功了!!!伟大的但是为什么我的命令提示符会显示这一点,即使它启动了equinox容器“欢迎使用Apache Felix Gogo”,并且我有Felix命令输入“g!”?最新的equinox版本默认使用Felix Gogo shell非常感谢!!最后一件事。有没有办法将osgi捆绑包部署到正在运行的equinox环境中?在maven的帮助下
<platform>
    <name>Equinox 3.7.0</name>
    <system>
        http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi_3.7.0.v20110613.jar
    </system>
    <profile name="minimal" default="true">
        <bundle>
            <name>OSGi Services</name>
            <url>
                http://mirror.netcologne.de/eclipse/equinox/drops/R-3.7-201106131736/org.eclipse.osgi.services_3.3.0.v20110513.jar
            </url>
        </bundle>
    </profile>
</platform>
 -> 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