Using the Apache httpclient-osgi bundle
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient-osgi/4.5.6 in a (new)
enRoute project I get this error-
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-export-maven-plugin:4.1.0:export (default) on
project qQNESiteAPP:
Unable to resolve <<INITIAL>>: missing requirement
osgi.identity;filter:='(osgi.identity=net.qnenet.qnesite.qHttpClientImpl)'
[caused by: Unable to resolve net.qnenet.qnesite.qHttpClientImpl
version=0.0.1.201901210415:
missing requirement
osgi.wiring.package;filter:='(&(osgi.wiring.package=org.apache.http))'] ->
[Help 1]
Is this a similar problem to that discussed where Tim Ward stated -
"Now in fact the Felix Http Jetty implementation used in OSGi enRoute *does* provide this service,
however it is missing the metadata from the manifest saying that it provides this service. This is a
packaging bug in the Felix Jetty bundle, and is why the resolve fails."
Checking the exports from the bundle, "org.apache.http" appears many times but I cannot see a
distinct export for that package although I could have missed it.
Is there a problem with the apache httpclient for OSGi purposes?
Paul Fraser
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev