camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viral Gohel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11771) Remove commons-logging import
Date Tue, 12 Sep 2017 04:41:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162486#comment-16162486
] 

Viral Gohel commented on CAMEL-11771:
-------------------------------------

Working on this..

> Remove commons-logging import
> -----------------------------
>
>                 Key: CAMEL-11771
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11771
>             Project: Camel
>          Issue Type: Test
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>
> We should use slf4j-api instead as there is a few unit test that uses commons-logging
api directly.
> {code}
> davsclaus:/Users/davsclaus/workspace/camel (boot2)/$ git grep "commons\.logging"
> components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/MtomTestHelper.java:
   static boolean isAwtHeadless(org.apache.commons.logging.Log log, org.slf4j.Logger logger)
{
> components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/SpringHttpsRouteTest.java:import
org.apache.commons.logging.Log;
> components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/SpringHttpsRouteTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/CuratorFactoryBean.java:import
org.apache.commons.logging.Log;
> components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/CuratorFactoryBean.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/FailoverCuratorLeaderRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/FailoverRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/MultiMasterCuratorLeaderRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> parent/pom.xml:      org.apache.commons.logging.*;version="[1.1,2)",
> tests/camel-itest-karaf/src/test/resources/commons-logging.properties:#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
> tests/camel-itest-karaf/src/test/resources/commons-logging.properties:org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
> tests/camel-itest/src/test/resources/commons-logging.properties:#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
> tests/camel-itest/src/test/resources/commons-logging.properties:org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message