diff --git a/samples/helloworld/build.gradle b/samples/helloworld/build.gradle
index 60633a15..d084b8d2 100644
--- a/samples/helloworld/build.gradle
+++ b/samples/helloworld/build.gradle
@@ -11,7 +11,7 @@ repositories {
dependencies {
compile "org.springframework.shell:spring-shell:$springShellVersion"
- testCompile "junit:junit:$junitVersion"
+ runtime "log4j:log4j:$log4jVersion"
}
mainClassName = "org.springframework.shell.Bootstrap"
diff --git a/samples/helloworld/gradle.properties b/samples/helloworld/gradle.properties
index dc66f7ba..7839e0df 100644
--- a/samples/helloworld/gradle.properties
+++ b/samples/helloworld/gradle.properties
@@ -1,5 +1,5 @@
springShellVersion = 1.0.0.RELEASE
-junitVersion = 4.8.1
+log4jVersion = 1.2.17
version = 1.0.0.RELEASE
diff --git a/samples/helloworld/pom.xml b/samples/helloworld/pom.xml
index 8daea00d..cc12c876 100644
--- a/samples/helloworld/pom.xml
+++ b/samples/helloworld/pom.xml
@@ -13,6 +13,7 @@
1.0.0.RELEASE
org.springframework.shell.Bootstrap
+ 1.2.17
@@ -22,6 +23,11 @@
spring-shell
${spring.shell.version}
+
+ log4j
+ log4j
+ ${log4j.version}
+