[ 
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-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to