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

Claus Ibsen commented on CAMEL-18936:
-------------------------------------

Yeah I think #1 if we have all those test/logger/junit/hamcrest et all with 
<scope>test then it can be inherited and we can cleanup all these pom.xml of 
components and also help ensure they all use the same testing style and 
libraries. Then its easier for us to maintain

> components - Add log4j-core so logging to logfile works
> -------------------------------------------------------
>
>                 Key: CAMEL-18936
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18936
>             Project: Camel
>          Issue Type: Task
>            Reporter: Claus Ibsen
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.0
>
>
> To make logging work we need to make sure we have these 2 test dependencies
> {code}
>         <dependency>
>             <groupId>org.apache.logging.log4j</groupId>
>             <artifactId>log4j-core</artifactId>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.logging.log4j</groupId>
>             <artifactId>log4j-slf4j2-impl</artifactId>
>             <scope>test</scope>
>         </dependency>
> {code}
> Most often we only have
> {code}
>         <dependency>
>             <groupId>org.apache.logging.log4j</groupId>
>             <artifactId>log4j-slf4j2-impl</artifactId>
>             <scope>test</scope>
>         </dependency>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to