Skip to content

Commit 258f689

Browse files
committed
add osgi metadata
1 parent 0960710 commit 258f689

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,46 @@
3434
</dependencies>
3535

3636
<build>
37+
<pluginManagement>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.apache.felix</groupId>
41+
<artifactId>maven-bundle-plugin</artifactId>
42+
<version>6.0.0</version>
43+
<configuration>
44+
<supportedProjectTypes>
45+
<supportedProjectType>jar</supportedProjectType>
46+
<supportedProjectType>bundle</supportedProjectType>
47+
</supportedProjectTypes>
48+
<instructions>
49+
<Import-Package>
50+
!java
51+
</Import-Package>
52+
<Export-Package>
53+
{local-packages}
54+
</Export-Package>
55+
</instructions>
56+
</configuration>
57+
<executions>
58+
<execution>
59+
<id>manifest</id>
60+
<goals>
61+
<goal>manifest</goal>
62+
</goals>
63+
<configuration>
64+
<supportIncrementalBuild>true</supportIncrementalBuild>
65+
</configuration>
66+
</execution>
67+
<execution>
68+
<id>bundle</id>
69+
<goals>
70+
<goal>bundle</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
</plugins>
76+
</pluginManagement>
3777
<plugins>
3878
<plugin>
3979
<groupId>org.apache.maven.plugins</groupId>
@@ -105,6 +145,10 @@
105145
<goals>deploy</goals>
106146
</configuration>
107147
</plugin>
148+
<plugin>
149+
<groupId>org.apache.felix</groupId>
150+
<artifactId>maven-bundle-plugin</artifactId>
151+
</plugin>
108152
</plugins>
109153
</build>
110154

0 commit comments

Comments
 (0)