Skip to content

Commit 982cd73

Browse files
committed
added osgi bundle per #627
1 parent 92ead0f commit 982cd73

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

modules/swagger-core/pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>com.wordnik</groupId>
1010
<artifactId>swagger-core_2.10</artifactId>
11-
<packaging>jar</packaging>
11+
<packaging>bundle</packaging>
1212
<name>swagger-core</name>
1313
<version>1.3.8-SNAPSHOT</version>
1414
<build>
@@ -27,6 +27,31 @@
2727
<directory>src/test/resources</directory>
2828
</testResource>
2929
</testResources>
30+
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.felix</groupId>
34+
<artifactId>maven-bundle-plugin</artifactId>
35+
<extensions>true</extensions>
36+
<configuration>
37+
<instructions>
38+
<Export-Package>
39+
com.wordnik.swagger.converter,
40+
com.wordnik.swagger.core,
41+
com.wordnik.swagger.core.util,
42+
com.wordnik.swagger.reader,
43+
com.wordnik.swagger.config,
44+
com.wordnik.swagger.model
45+
</Export-Package>
46+
<Import-Package>
47+
org.json4s.jackson,
48+
*
49+
</Import-Package>
50+
</instructions>
51+
</configuration>
52+
</plugin>
53+
</plugins>
54+
3055
</build>
3156
<dependencies>
3257
<dependency>

0 commit comments

Comments
 (0)