wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r1517409 - /wink/trunk/wink-client-apache-httpclient/pom.xml
Date Mon, 26 Aug 2013 02:44:10 GMT
Author: lresende
Date: Mon Aug 26 02:44:10 2013
New Revision: 1517409

URL: http://svn.apache.org/r1517409
Log:
WINK-409 - Use bundle plugin to create manifest file

Modified:
    wink/trunk/wink-client-apache-httpclient/pom.xml

Modified: wink/trunk/wink-client-apache-httpclient/pom.xml
URL: http://svn.apache.org/viewvc/wink/trunk/wink-client-apache-httpclient/pom.xml?rev=1517409&r1=1517408&r2=1517409&view=diff
==============================================================================
--- wink/trunk/wink-client-apache-httpclient/pom.xml (original)
+++ wink/trunk/wink-client-apache-httpclient/pom.xml Mon Aug 26 02:44:10 2013
@@ -71,4 +71,42 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+                    </archive>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Import-Package>${slf4j.osgi.import.instruction},org.apache.commons.codec.*;resolution:=optional,org.apache.wink.common.internal.providers.entity.xml,org.apache.wink.common.internal.providers.entity.atom,org.apache.wink.common.internal.providers.entity.csv,org.apache.wink.common.internal.providers.multipart,org.apache.wink.common.internal.providers.entity.json,org.apache.wink.common.internal.providers.entity.app,*</Import-Package>
+                        <Export-Package>
+                            <!--
+                                !org.apache.wink.client.internal.*,
+                            -->
+                            org.apache.wink.client.*
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>    
 </project>



Mime
View raw message