Skip to content

Commit 684013e

Browse files
committed
Made JMS and Spring MVC OSGi resolutions optional
1 parent be011c0 commit 684013e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

oxm/pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
org.w3c.dom*,
9393
org.springframework.xml*,
9494
org.springframework.oxm*,
95+
org.springframework.jms*;version="2.0";resolution:=optional,
96+
org.springframework.web*;version="2.0";resolution:=optional,
9597
org.springframework*;version="2.0",
9698
*;resolution:=optional
9799
</Import-Package>
@@ -113,7 +115,6 @@
113115
<dependency>
114116
<groupId>org.springframework</groupId>
115117
<artifactId>spring-context</artifactId>
116-
<scope>test</scope>
117118
</dependency>
118119
<!-- XML handling dependencies -->
119120
<dependency>
@@ -217,6 +218,17 @@
217218
<artifactId>spring-jms</artifactId>
218219
<optional>true</optional>
219220
</dependency>
221+
<!-- View -->
222+
<dependency>
223+
<groupId>javax.servlet</groupId>
224+
<artifactId>servlet-api</artifactId>
225+
<optional>true</optional>
226+
</dependency>
227+
<dependency>
228+
<groupId>org.springframework</groupId>
229+
<artifactId>spring-webmvc</artifactId>
230+
<optional>true</optional>
231+
</dependency>
220232
<!-- Test dependencies -->
221233
<dependency>
222234
<groupId>easymock</groupId>
@@ -230,5 +242,10 @@
230242
<version>1.0-RC2</version>
231243
<scope>test</scope>
232244
</dependency>
245+
<dependency>
246+
<groupId>org.springframework</groupId>
247+
<artifactId>spring-test</artifactId>
248+
<scope>test</scope>
249+
</dependency>
233250
</dependencies>
234251
</project>

0 commit comments

Comments
 (0)