You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2013/10/01 13:15:26 UTC
[jira] [Commented] (CAMEL-6806) Upgrade org.apache.httpcomponents
to 4.3
[ https://issues.apache.org/jira/browse/CAMEL-6806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782824#comment-13782824 ]
Christian Müller commented on CAMEL-6806:
-----------------------------------------
Starting with version 4.3, some of the httpclient packages are now private:
{noformat}
Private-Package: ...,org.apac
he.http,org.apache.http.annotation,org.apache.http.concurrent,org.apach
e.http.config,org.apache.http.entity,org.apache.http.impl,org.apache.ht
tp.impl.client,org.apache.http.impl.client.cache,org.apache.http.impl.c
lient.cache.ehcache,org.apache.http.impl.client.cache.memcached,org.apa
che.http.impl.entity,org.apache.http.impl.io,org.apache.http.impl.pool,
org.apache.http.io,org.apache.http.message,org.apache.http.osgi.impl,or
g.apache.http.osgi.services,org.apache.http.params,org.apache.http.pool
,org.apache.http.protocol,org.apache.http.util
{noformat}
But other bundles like org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/1.5.1_1 have mandatory imports of some packages which will fail in OSGI environments:
{noformat}
cmueller$ mvn clean install -Pvalidate
...
[INFO] OK: imports resolved for camel-avro
[WARNING] Failed to validate feature camel-aws
[WARNING] No export found to match org.apache.http.impl.client;version="[4,5)" (imported by mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aws-java-sdk/1.5.1_1)
{noformat}
This means we have to wait with this upgrade until all dependent libraries has been updated to not use the private packages.
However, I attach the patch with my current work.
> Upgrade org.apache.httpcomponents to 4.3
> ----------------------------------------
>
> Key: CAMEL-6806
> URL: https://issues.apache.org/jira/browse/CAMEL-6806
> Project: Camel
> Issue Type: Task
> Components: camel-aws, camel-couchdb, camel-http4, camel-solr
> Affects Versions: 2.12.1
> Reporter: Christian Müller
> Assignee: Christian Müller
> Priority: Minor
> Fix For: 2.13.0
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)