You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wink.apache.org by lr...@apache.org on 2013/08/26 04:44:10 UTC

svn commit: r1517409 - /wink/trunk/wink-client-apache-httpclient/pom.xml

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>