You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/05/09 20:04:07 UTC

[19/22] httpcomponents-core git commit: HTTPCORE-222: Fixed Import-Package in the OSGi META-INF Contributed by Willem Jiang

HTTPCORE-222: Fixed Import-Package in the OSGi META-INF
Contributed by Willem Jiang <willem.jiang at gmail.com> 

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x@925173 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/6822b0c3
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/6822b0c3
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/6822b0c3

Branch: refs/heads/4.0.x
Commit: 6822b0c3f88241d3e2487169beb52cad82afc204
Parents: e9e665d
Author: Oleg Kalnichevski <ol...@apache.org>
Authored: Fri Mar 19 10:40:00 2010 +0000
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Fri Mar 19 10:40:00 2010 +0000

----------------------------------------------------------------------
 RELEASE_NOTES.txt     | 3 +++
 httpcore-osgi/pom.xml | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/6822b0c3/RELEASE_NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 3a3b116..5a00c20 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -1,5 +1,8 @@
 Changes since 4.0.1
 
+* [HTTPCORE-222] Fixed OSGi Import-Package
+  Contributed by Willem Jiang <willem.jiang at gmail.com>
+
 * [HTTPCORE-207] SocketHttp*Connection classes can leak sockets if the connection is half-closed
   Contributed by David Koski <david_koski at mac.com>
 

http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/6822b0c3/httpcore-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/httpcore-osgi/pom.xml b/httpcore-osgi/pom.xml
index 482f446..0fe75c9 100644
--- a/httpcore-osgi/pom.xml
+++ b/httpcore-osgi/pom.xml
@@ -84,6 +84,7 @@
           <instructions>
             <Bundle-Name>Apache ${pom.name}</Bundle-Name>
             <Bundle-SymbolicName>${pom.groupId}.httpcore</Bundle-SymbolicName>
+            <Import-Package>!org.apache.http*,*</Import-Package>
             <_exportcontents>org.apache.http.*;version=${project.version}</_exportcontents>
             <Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency>
           </instructions>