httpcomponents-client/httpmime-pom-fix.patch
Severin Gehwolf 0f67941d83 Fix for RH Bz#718830
Add instructions so as to not Import-Package optional dependencies.
2011-07-15 17:33:46 -04:00

24 lines
654 B
Diff

--- httpmime/pom.xml.sav 2011-03-14 16:54:32.000000000 -0400
+++ httpmime/pom.xml 2011-07-15 13:51:08.530725700 -0400
@@ -38,7 +38,7 @@
HttpComponents HttpClient - MIME coded entities
</description>
<url>http://hc.apache.org/httpcomponents-client</url>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<dependencies>
<dependency>
@@ -112,6 +112,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
</plugins>
</build>