Skip to content

Commit 81da850

Browse files
committed
Creating OSGi bundle
1 parent 872fdc0 commit 81da850

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

xml/pom.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,39 @@
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<artifactId>spring-xml</artifactId>
10-
<packaging>jar</packaging>
10+
<packaging>bundle</packaging>
1111
<name>Spring XML</name>
1212
<description>Various XML support classes for Spring Web Services</description>
13+
<build>
14+
<plugins>
15+
<plugin>
16+
<groupId>org.apache.felix</groupId>
17+
<artifactId>maven-bundle-plugin</artifactId>
18+
<version>1.0.0</version>
19+
<extensions>true</extensions>
20+
<configuration>
21+
<instructions>
22+
<Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
23+
<Export-Package>org.springframework.xml*</Export-Package>
24+
<Import-Package>
25+
org.apache.commons.logging*,
26+
javax.xml.parsers*,
27+
javax.xml.transform*,
28+
org.xml.sax*,
29+
org.w3c.dom*,
30+
org.springframework.beans*,
31+
org.springframework.core*,
32+
org.springframework.util*,
33+
*;resolution:=optional
34+
</Import-Package>
35+
<Implementation-Title>${pom.name}</Implementation-Title>
36+
<Implementation-Version>${pom.version}</Implementation-Version>
37+
<Spring-WS-Version>${pom.version}</Spring-WS-Version>
38+
</instructions>
39+
</configuration>
40+
</plugin>
41+
</plugins>
42+
</build>
1343
<dependencies>
1444
<!-- XML handling dependencies -->
1545
<dependency>

0 commit comments

Comments
 (0)