Skip to content

Commit bbc3a11

Browse files
committed
Applying patch from https://code.google.com/p/osjava/issues/detail?id=10&can=1 - adding OSGi support to the build
1 parent 08aa3a6 commit bbc3a11

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

simple-jndi/pom.xml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<modelVersion>4.0.0</modelVersion>
66
<artifactId>simple-jndi</artifactId>
77
<name>simple-jndi</name>
8-
<version>0.11.4.1</version>
8+
<version>0.11.4-SNAPSHOT</version>
9+
<packaging>bundle</packaging>
910
<organization>
1011
<name>OSJava</name>
1112
</organization>
@@ -124,18 +125,21 @@
124125
<target>1.5</target>
125126
</configuration>
126127
</plugin>
128+
<plugin>
129+
<groupId>org.apache.felix</groupId>
130+
<artifactId>maven-bundle-plugin</artifactId>
131+
<version>1.4.0</version>
132+
<extensions>true</extensions>
133+
<configuration>
134+
<instructions>
135+
<Export-Package>org.osjava.sj.*</Export-Package>
136+
<Bundle-SymbolicName>org.osjava.sj</Bundle-SymbolicName>
137+
</instructions>
138+
</configuration>
139+
</plugin>
127140
</plugins>
128141

129142
</build>
130143

131-
<!-- NOT USED FOR SITE YET; USE MAVEN 1 -->
132-
<reports>
133-
<report>maven-jxr-plugin</report>
134-
<report>maven-javadoc-plugin</report>
135-
<report>maven-license-plugin</report>
136-
<report>maven-changes-plugin</report>
137-
</reports>
138-
139-
140144
</project>
141145

0 commit comments

Comments
 (0)