THRIFT-931. java: Use log4j for Java tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001967 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/ivy.xml b/lib/java/ivy.xml
index 902e50d..07fb3b3 100644
--- a/lib/java/ivy.xml
+++ b/lib/java/ivy.xml
@@ -21,11 +21,15 @@
<repository name="apache repository" url="http://incubator.apache.org/thrift/" />
<description homepage="http://incubator.apache.org/thrift/" />
</info>
+ <configurations defaultconfmapping="compile">
+ <conf name="compile" />
+ <conf name="test" extends="compile" visibility="private" />
+ </configurations>
<dependencies>
<dependency org="org.slf4j" name="slf4j-api" rev="1.5.8" conf="* -> *,!sources,!javadoc"/>
- <dependency org="org.slf4j" name="slf4j-simple" rev="1.5.8" conf="* -> *,!sources,!javadoc"/>
+ <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.5.8" conf="test -> *,!sources,!javadoc"/>
<dependency org="commons-lang" name="commons-lang" rev="2.5" conf="* -> *,!sources,!javadoc"/>
- <dependency org="junit" name="junit" rev="4.4" conf="* -> *,!sources,!javadoc"/>
+ <dependency org="junit" name="junit" rev="4.4" conf="test -> *,!sources,!javadoc"/>
<dependency org="javax.servlet" name="servlet-api" rev="2.5" conf="* -> *,!sources,!javadoc"/>
</dependencies>
</ivy-module>