Do not export org.apache.http.param in osgi.
This commit is contained in:
parent
1ead4776ae
commit
853f519f04
@ -34,7 +34,7 @@ index 0e391f6..f0c6632 100644
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -116,25 +110,20 @@
|
@@ -116,25 +110,21 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -50,11 +50,12 @@ index 0e391f6..f0c6632 100644
|
|||||||
- <flushInterval>100</flushInterval>
|
- <flushInterval>100</flushInterval>
|
||||||
- <targetPercentage>50%</targetPercentage>
|
- <targetPercentage>50%</targetPercentage>
|
||||||
+ <instructions>
|
+ <instructions>
|
||||||
+ <Export-Package>org.apache.http.*</Export-Package>
|
+ <Export-Package>org.apache.http.*,!org.apache.http.param</Export-Package>
|
||||||
+ <Private-Package></Private-Package>
|
+ <Private-Package></Private-Package>
|
||||||
+ <_nouses>true</_nouses>
|
+ <_nouses>true</_nouses>
|
||||||
+ <Import-Package>!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,*</Import-Package>
|
+ <Import-Package>!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,*</Import-Package>
|
||||||
+ </instructions>
|
+ </instructions>
|
||||||
|
+ <excludeDependencies>true</excludeDependencies>
|
||||||
</configuration>
|
</configuration>
|
||||||
- <executions>
|
- <executions>
|
||||||
- <execution>
|
- <execution>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Name: httpcomponents-client
|
Name: httpcomponents-client
|
||||||
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
||||||
Version: 4.1.3
|
Version: 4.1.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://hc.apache.org/
|
URL: http://hc.apache.org/
|
||||||
@ -92,6 +92,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 26 2012 Alexander Kurtakov <akurtako@redhat.com> 4.1.3-2
|
||||||
- Do not export * but only org.apache.http.* .
|
- Do not export * but only org.apache.http.* .
|
||||||
- Do not generate uses clauses in the manifest.
|
- Do not generate uses clauses in the manifest.
|
||||||
|
Loading…
Reference in New Issue
Block a user