The problem seems to be that the Slf4j del is hardcoded in apaches-all.
Not included with maven.
Setting the scope to provided ( to what ? apaches-all ? slf4j-api) doesn't
seem an option to me.

Cheers

2015-02-19 14:20 GMT+00:00 Emmanuel Lécharny <elecha...@gmail.com>:

> Le 19/02/15 14:38, Alessandro Benedetti a écrit :
> > 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.
>
> Have you tried to use <scope>provided</scope> instead ?
>
> Using the scope compile, which is the default btw, will pull all the
> transitive dependencies from apacheds-all.
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to