Reputation: 53
Note - I can see the dependencies getting reflected under Import-Package, in the generated MANIFEST file of my bundle jar.
Code Listing 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>
Code Listing 2:
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
Upvotes: 0
Views: 1273
Reputation: 3291
Servicemix has an OSGi bundle wrapper for the commons-httpclient, can you try to install it instead of embedding it in your bundle ?
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_4
Upvotes: 0