From 23072ffb51710d0c850adaa2bac241f3d91c390b Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Wed, 21 Dec 2016 22:02:46 +0100 Subject: [PATCH] Update to explicit versions of JUnit 4.12 and JaCoCo 0.7.8 Use explicit coordinates, and therefor version numbers fro JUnit in the build.moxie file. It should not be some version that just happens to be used. Update JUnit to latest 4.12. Update JaCoCo to lates 0.7.8, which makes it work under Java 8. The last used version would fail when tests are run under Java 8. --- .classpath | 2 +- build.moxie | 4 ++-- gitblit.iml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.classpath b/.classpath index 0f7c09a7..095cb036 100644 --- a/.classpath +++ b/.classpath @@ -80,7 +80,7 @@ - + diff --git a/build.moxie b/build.moxie index 5cb08b68..07208cc3 100644 --- a/build.moxie +++ b/build.moxie @@ -181,7 +181,7 @@ dependencies: - compile 'ro.fortsoft.pf4j:pf4j:0.9.0' :war - compile 'org.apache.tika:tika-core:1.5' :war - compile 'org.jsoup:jsoup:1.7.3' :war -- test 'junit' +- test 'junit:junit:4.12' # Dependencies for Selenium web page testing - test 'org.seleniumhq.selenium:selenium-java:${selenium.version}' @jar - test 'org.seleniumhq.selenium:selenium-support:${selenium.version}' @jar @@ -189,4 +189,4 @@ dependencies: - test 'org.mockito:mockito-core:1.10.19' # Dependencies with the "build" scope are retrieved # and injected into the Ant runtime classpath -- build 'jacoco' +- build 'org.jacoco:org.jacoco.ant:0.7.8' diff --git a/gitblit.iml b/gitblit.iml index 163491bc..71907a59 100644 --- a/gitblit.iml +++ b/gitblit.iml @@ -823,13 +823,13 @@ - + - + - + -- 2.39.5