From 6dffc6b8c6a2f582fff6026023f69fa80961ef82 Mon Sep 17 00:00:00 2001 From: "Ealden Esto E. Escanan" Date: Sun, 18 Sep 2011 15:27:07 +0800 Subject: [PATCH] Set Log4J dependency from runtime to compile in log4j module as we are referencing org.apache.log4j.Level in our code We are getting compile errors in the log4j module, as it has the Log4J dependency set to runtime but is referencing org.apache.log4j.Level in the code. Changing the dependency to compile (removing ) fixes this problem, as the dependency is now available during compile time where it is needed. Alternatively, all references to org.apache.log4j.Level could be removed, which should allow us to put the log4j dependency back to runtime. Such change is not covered in this patch. Signed-off-by: Ealden Esto E. Escanan --- log4j/pom.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/log4j/pom.xml b/log4j/pom.xml index 5d10103..57fafca 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -121,7 +121,6 @@ log4j log4j 1.2.16 - runtime @@ -208,4 +207,3 @@ - \ No newline at end of file