I'd like to integrate an embedded apacheds LDAP server in my java
project using the apacheds LdapServer from the apacheds-service
artifact.

However, I noticed that apacheds-service is a mvn shaded jar, which
includes its dependencies. This is a real problem because some of its
dependencies (e.g. bcprov) clash with dependencies I already have in
my project. Essentially by using a shaded jar, normal mvn dependency
resolution is no longer possible.

Assuming there are good reasons for the shaded jar, wouldn't it be
better to provide both a shaded and normal jar (e.g. the shaded
version with a different classifier)?

I assume the shaded jar might make sense in standalone use cases. But
for inclusion in other java projects, I don't think it is a good idea.

Thanks
Jan

Reply via email to