commit e866ab9d6a28b3fe3c1ebf1847fefd1a51e884fb
parent b57f527c4f3ba3e78ad7fda8055d0588d7889f40
Author: Dan Callaghan <djc@djc.id.au>
Date: Wed, 25 Apr 2012 13:54:49 +1000
update dependencies
Diffstat:
2 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/pom.xml b/pom.xml
@@ -50,7 +50,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <spring.version>3.0.5.RELEASE</spring.version>
+ <spring.version>3.1.1.RELEASE</spring.version>
</properties>
<build>
@@ -58,21 +58,22 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>1.0-beta-7</version>
+ <version>2.2</version>
</extension>
</extensions>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
- <version>3.3</version>
+ <version>3.4</version>
<executions>
<execution>
<goals>
@@ -83,10 +84,10 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
+ <version>2.8.1</version>
<configuration>
<links>
- <link>http://jena.sourceforge.net/javadoc/</link>
+ <link>http://incubator.apache.org/jena/documentation/javadoc/jena/</link>
</links>
</configuration>
</plugin>
@@ -97,13 +98,13 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.8.2</version>
+ <version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
</dependency>
<dependency>
<groupId>net.sourceforge.collections</groupId>
@@ -119,12 +120,12 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
- <version>3.3</version>
+ <version>3.4</version>
</dependency>
<dependency>
<groupId>au.id.djc.jena</groupId>
- <artifactId>jena</artifactId>
- <version>2.6.4.1</version>
+ <artifactId>jena-core</artifactId>
+ <version>2.7.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
@@ -139,7 +140,7 @@
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
- <version>1.6.2</version>
+ <version>2.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -162,7 +163,7 @@
<dependency>
<groupId>au.id.djc</groupId>
<artifactId>jena-spring</artifactId>
- <version>1.2</version>
+ <version>1.2.1</version>
<optional>true</optional>
</dependency>
<!-- JDK6 StAX implementation sucks, Woodstox 4 sucks, ... -->
diff --git a/src/test/java/au/id/djc/rdftemplate/TemplateInterpolatorUnitTest.java b/src/test/java/au/id/djc/rdftemplate/TemplateInterpolatorUnitTest.java
@@ -43,7 +43,7 @@ public class TemplateInterpolatorUnitTest {
Resource journal = model.getResource("http://miskinhill.com.au/journals/test/");
String result = templateInterpolator.interpolate(
new InputStreamReader(this.getClass().getResourceAsStream("replace-subtree.xml")), journal);
- assertThat(result, containsString("<div xml:lang=\"en\" lang=\"en\">Test Journal of Good Stuff</div>"));
+ assertThat(result, containsString("<div lang=\"en\" xml:lang=\"en\">Test Journal of Good Stuff</div>"));
assertThat(result, not(containsString("<p>This should all go <em>away</em>!</p>")));
}