中添加这个包。
注意到-我可以看到依赖关系在Import下,在我的包jar生成的清单文件中得到反映。
代码清单1:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
<version>${camel-version}</version>
<!-- use the same version as your Camel core version -->
</dependency>代码清单2:
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>发布于 2011-10-09 01:56:09
Servicemix有一个针对的OSGi包包装器,您能尝试安装它而不是将它嵌入到包中吗?
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_4
https://stackoverflow.com/questions/7660229
复制相似问题