updated libraries and plugins to latest versions

This commit is contained in:
jomu
2018-01-09 10:09:02 +00:00
parent efb22b1c46
commit 0c81703042
13 changed files with 121 additions and 102 deletions

View File

@ -21,12 +21,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>

View File

@ -46,7 +46,7 @@ public class GsonSerialisation {
System.out.println(jsonString);
System.out.println("*******");
Configuration cfg = new Configuration(Configuration.VERSION_2_3_24);
Configuration cfg = new Configuration(Configuration.VERSION_2_3_23);
cfg.setDirectoryForTemplateLoading(new File(System.getProperty("java.io.tmpdir")));
cfg.setDefaultEncoding("UTF-8");
Template template = cfg.getTemplate("users.ftlh");

View File

@ -111,7 +111,7 @@ public class PDFDocumentTest {
FileUtils.writeStringToFile(file, jsonString, "UTF-8");
// create pdf
Configuration cfg = new Configuration(Configuration.VERSION_2_3_24);
Configuration cfg = new Configuration(Configuration.VERSION_2_3_23);
cfg.setDirectoryForTemplateLoading(new File(System.getProperty("java.io.tmpdir")));
cfg.setDefaultEncoding("UTF-8");
cfg.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);