directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <abenede...@apache.org>
Subject [Apache DS] Slf4j Dependency
Date Thu, 19 Feb 2015 13:38:04 GMT
Hi developers,
Playing with maven dependencies and a project I had a lot of troubles
because using this maven dep :

<dependency>
 <groupId>org.apache.directory.server</groupId>
 <artifactId>apacheds-all</artifactId>
 <version>1.5.5</version>
 <type>jar</type>
 <scope>compile</scope>
</dependency>

It was implicitly overwriting my class loading for Slf4j classes.

This was really weird so analysing the jar, we discovered that
apaches-all contains hardcoded some Slf4j classes ...

Upgrading to 2.0 partially solved the issue as we got a newer version
of Slf4j hardcoded that was not conflicting anymore with the rest of
the project.

So my question:

Are we doing something wrong using that del ?

Why is Slf4j hardcoded inside that ?

Cheers

Mime
View raw message