You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/09/16 13:41:52 UTC
[jira] [Resolved] (HTTPCLIENT-1398) Unable to access HttpClients or
HttpClientBuilder in OSGi
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1398.
-------------------------------------------
Resolution: Invalid
Fix Version/s: (was: 4.3.1)
(was: 4.4 Final)
MANIFEST.MF for HttpClient gets automatically generated by the maven-bundle-plugin. The 'org.apache.http.impl.client' package is clearly declared as exported in the plugin metadata [1]. Besides, when using HttpClient inside an OSGi container you might be better served by OSGiHttpClientBuilder, which a OSGi optimized version of HttpClientBuilder
Oleg
[1] https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.3/httpclient-osgi/pom.xml
> Unable to access HttpClients or HttpClientBuilder in OSGi
> ---------------------------------------------------------
>
> Key: HTTPCLIENT-1398
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1398
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.3 Final
> Reporter: Jens Offenbach
>
> Because the package "org.apache.http.impl.client" in the MANIFEST.MF is declared as private and NOT exported, nobody is able to access the builder classes for building a HttpClient instance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org