You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/12/16 20:26:18 UTC

[jira] Resolved: (CXF-2583) Please remove Maven dependency on slf4j-jdk14

     [ https://issues.apache.org/jira/browse/CXF-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2583.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.6

> Please remove Maven dependency on slf4j-jdk14
> ---------------------------------------------
>
>                 Key: CXF-2583
>                 URL: https://issues.apache.org/jira/browse/CXF-2583
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.2.4
>            Reporter: Chris Wilson
>            Assignee: Daniel Kulp
>             Fix For: 2.2.6
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The Maven POM for CXF 2.2.4 contains the following lines:
>             <dependency>
>                 <groupId>org.slf4j</groupId>
>                 <artifactId>slf4j-jdk14</artifactId>
>                 <version>1.5.8</version>
>             </dependency>
> This forces the SLF4J JDK14 binding  to be downloaded and included in any project using this POM. Even if we want to use Log4J instead, we have no choice about the JDK14 binding being included in our project.
> We're using the Maven-Eclipse plugin to generate our Eclipse configuration. This results in slf4j-jdk14 being added to the classpath. Again this appears to be unavoidable.
> SLF4J picks the first binding in the classpath. This appears to be unavoidable. There is no documented way to avoid it. Because J comes before L, it always picks the JDK binding over the Log4J binding. This makes it impossible to use Log4J instead.
> I don't think any project should force users to choose a particular logging binding, as this defeats the whole point of SLF4J. Please just depend on the API, and let the developer or user install whatever actual binding they wish.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.