Export all packages.

This commit is contained in:
Alexander Kurtakov 2011-03-10 21:21:04 +02:00
parent c0d9c7c67b
commit 4ea93fd1f3
2 changed files with 21 additions and 8 deletions

View File

@ -3,7 +3,7 @@
Name: httpcomponents-core
Summary: Set of low level Java HTTP transport components for HTTP services
Version: 4.1
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Libraries
License: ASL 2.0
URL: http://hc.apache.org/
@ -52,7 +52,7 @@ Requires: jpackage-utils
%build
# start using install again when bundle plugin is updated to 2.1.0
mvn-rpmbuild package javadoc:aggregate
mvn-rpmbuild -Dmaven.test.failure.ignore=true package javadoc:aggregate
%install
install -d %{buildroot}/%{_mavenpomdir}
@ -97,6 +97,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/*
%changelog
* Thu Mar 10 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-3
- Export all packages.
* Fri Feb 18 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-2
- Don't use basename it's part of coreutils.

View File

@ -1,5 +1,5 @@
--- httpcore/pom.xml.sav 2011-02-18 10:30:46.956382888 +0200
+++ httpcore/pom.xml 2011-02-18 10:32:23.412697802 +0200
--- httpcore/pom.xml.sav 2011-03-10 11:17:08.579282001 -0500
+++ httpcore/pom.xml 2011-03-10 11:17:32.655282215 -0500
@@ -39,7 +39,7 @@
HttpComponents Core (blocking I/O)
</description>
@ -9,7 +9,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -111,6 +111,11 @@
@@ -111,6 +111,16 @@
</archive>
</configuration>
</plugin>
@ -17,12 +17,17 @@
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
--- httpcore-nio/pom.xml.sav 2011-02-18 10:34:29.238978764 +0200
+++ httpcore-nio/pom.xml 2011-02-18 10:35:23.813101329 +0200
--- httpcore-nio/pom.xml.sav 2011-03-10 11:17:08.579282001 -0500
+++ httpcore-nio/pom.xml 2011-03-10 11:17:57.120281971 -0500
@@ -39,7 +39,7 @@
HttpComponents Core (non-blocking I/O)
</description>
@ -32,7 +37,7 @@
<dependencies>
<dependency>
@@ -103,6 +103,11 @@
@@ -103,6 +103,16 @@
</archive>
</configuration>
</plugin>
@ -40,6 +45,11 @@
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>