httpcomponents-core/osgify.patch

58 lines
1.7 KiB
Diff
Raw Normal View History

2011-03-10 19:21:04 +00:00
--- 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>
<url>http://hc.apache.org/httpcomponents-core-ga/</url>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -111,6 +111,17 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
2011-03-10 19:21:04 +00:00
+ <configuration>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ <Private-Package></Private-Package>
2011-03-10 19:21:04 +00:00
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
2011-03-10 19:21:04 +00:00
--- 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>
<url>http://hc.apache.org/httpcomponents-core/</url>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<dependencies>
<dependency>
2011-03-10 19:21:04 +00:00
@@ -103,6 +103,16 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
2011-03-10 19:21:04 +00:00
+ <configuration>
+ <instructions>
+ <Export-Package>*</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>