I'm trying to bundle the httpcomponents-win jar to use it in my Eclipse RCP application. I am using the Maven-bundle-plugin:3.2.0 to do this.
WARN : Bundle nl.*:org.apache.httpcomponents.httpclient-win:bundle:4.5.2 : Split package, multiple jars provide the same package:org/apache/http/impl/client
Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning
Package found in [Jar:., Jar:httpclient]
Class path [Jar:., Jar:httpclient, Jar:httpcore, Jar:commons-logging, Jar:commons-codec, Jar:jna, Jar:jna-platform]
Also in the resulting MANIFEST I see the following (missing the split-package directive):
Export-Package: org.apache.http.impl.client;version="4.5.2"
Can someone tell me why my split-package directive isn't taken into account?
With regards,
Nick Stolwijk
~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~
Lord Baden-Powell