wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1028534 - /incubator/wink/trunk/wink-json4j/pom.xml
Date Thu, 28 Oct 2010 23:14:06 GMT
Author: bluk
Date: Thu Oct 28 23:14:06 2010
New Revision: 1028534

URL: http://svn.apache.org/viewvc?rev=1028534&view=rev
Log:
Update wink-json4j for OSGi metadata

Modified:
    incubator/wink/trunk/wink-json4j/pom.xml

Modified: incubator/wink/trunk/wink-json4j/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-json4j/pom.xml?rev=1028534&r1=1028533&r2=1028534&view=diff
==============================================================================
--- incubator/wink/trunk/wink-json4j/pom.xml (original)
+++ incubator/wink/trunk/wink-json4j/pom.xml Thu Oct 28 23:14:06 2010
@@ -35,4 +35,40 @@
             <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>
+                        <Export-Package>
+                            <!--
+                                !org.apache.wink.json4j.internal.*,
+                            -->
+                            org.apache.wink.json4j.*
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>



Mime
View raw message