commit 6274d8ab237116bd70b119d0e0e1856db67eb8e7
parent df659215b05dcb9c6bbfc124ed8295e9f76a5744
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 7 Aug 2010 16:46:45 +1000
declare Spring-related dependencies as optional, so that users aren't forced to pull in Spring
Diffstat:
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
@@ -140,11 +140,6 @@
</exclusions>
</dependency>
<dependency>
- <groupId>au.id.djc</groupId>
- <artifactId>jena-spring</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6</version>
@@ -153,16 +148,25 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>au.id.djc</groupId>
+ <artifactId>jena-spring</artifactId>
+ <version>1.0</version>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>