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:03 UTC

[15/22] httpcomponents-core git commit: HTTPCORE-201: OSGi Export-Package doesn't specify version

HTTPCORE-201: OSGi Export-Package doesn't specify version

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x@801390 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/0d2b1adb
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/0d2b1adb
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/0d2b1adb

Branch: refs/heads/4.0.x
Commit: 0d2b1adb3c2205ad32f086f19bd3d2700dea3016
Parents: 689ade3
Author: Oleg Kalnichevski <ol...@apache.org>
Authored: Wed Aug 5 19:54:22 2009 +0000
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Wed Aug 5 19:54:22 2009 +0000

----------------------------------------------------------------------
 RELEASE_NOTES.txt     | 6 ++++++
 httpcore-osgi/pom.xml | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/0d2b1adb/RELEASE_NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index b71436f..61b0823 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -1,3 +1,9 @@
+Changes since 4.0.1
+
+* [HTTPCORE-201] OSGi Export-Package to specify release version
+  Contributed by Oleg Kalnichevski <olegk at apache.org>
+
+
 Release 4.0.1
 -------------------
 

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