Skip to content

Commit 7ae368f

Browse files
Maurice-Betzellanwen
authored andcommitted
Add OSGi compatibility (#65)
1 parent f311b15 commit 7ae368f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

bnd.bnd

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Bundle-Name: ${project.name}
2+
Bundle-Version: ${project.version}
3+
Bundle-SymbolicName: ${project.groupId}.${project.artifactId}
4+
Export-Package: ru.lanwen.verbalregex
5+
Import-Package: *

pom.xml

+22
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,28 @@
5858

5959
<build>
6060
<plugins>
61+
<plugin>
62+
<groupId>biz.aQute.bnd</groupId>
63+
<artifactId>bnd-maven-plugin</artifactId>
64+
<version>3.3.0</version>
65+
<executions>
66+
<execution>
67+
<goals>
68+
<goal>bnd-process</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-jar-plugin</artifactId>
76+
<version>3.0.2</version>
77+
<configuration>
78+
<archive>
79+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
80+
</archive>
81+
</configuration>
82+
</plugin>
6183
<plugin>
6284
<artifactId>maven-compiler-plugin</artifactId>
6385
<version>3.1</version>

0 commit comments

Comments
 (0)