Do not export org.apache.http.param in osgi.

This commit is contained in:
Alexander Kurtakov 2012-05-02 21:56:38 +03:00
parent 1ead4776ae
commit 853f519f04
2 changed files with 7 additions and 3 deletions

View File

@ -34,7 +34,7 @@ index 0e391f6..f0c6632 100644
</dependencies>
<properties>
@@ -116,25 +110,20 @@
@@ -116,25 +110,21 @@
</execution>
</executions>
</plugin>
@ -50,11 +50,12 @@ index 0e391f6..f0c6632 100644
- <flushInterval>100</flushInterval>
- <targetPercentage>50%</targetPercentage>
+ <instructions>
+ <Export-Package>org.apache.http.*</Export-Package>
+ <Export-Package>org.apache.http.*,!org.apache.http.param</Export-Package>
+ <Private-Package></Private-Package>
+ <_nouses>true</_nouses>
+ <Import-Package>!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,*</Import-Package>
+ </instructions>
+ <excludeDependencies>true</excludeDependencies>
</configuration>
- <executions>
- <execution>

View File

@ -3,7 +3,7 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.1.3
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@ -92,6 +92,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* Wed May 2 2012 Alexander Kurtakov <akurtako@redhat.com> 4.1.3-3
- Do not export org.apache.http.param in osgi.
* Mon Mar 26 2012 Alexander Kurtakov <akurtako@redhat.com> 4.1.3-2
- Do not export * but only org.apache.http.* .
- Do not generate uses clauses in the manifest.