|Can org.eclipse.jgit feature import org.slf4j.impl.log4j12 rather than include it [message #1739694]
||Thu, 04 August 2016 01:05
| Jason Pell
Registered: February 2011
I would like to be able to install a plugin which also depends on a version of org.slf4j.impl.log4j12, but because you guys include this plugin, rather than import it, I cannot get my plugin to install at all, unless I depend on the version of the plugin you have included.|
I am also playing with the idea of creating a plugin which acts as an implementation of org.slf4j, and to ensure that only a single implementation is in my eclipse installation, I am actually providing empty versions of the org.slf4j.impl.log4j12 and ch.qos.logback.slf4j with larger versions.
The empty version of the ch.qos.logback.slf4j installs just fine, but because you have included org.slf4j.impl.log4j12 into the org.eclipse.jgit feature, I cannot update org.slf4j.impl.log4j12 to be an empty version.
This is very frustrating, and really does violate one of the guiding principles of the SLF4J project which is for projects to only depend on the API, and let the user decide what SLF4J implementation to use.
Any chance this can be changed?
By way of example, the org.eclipse.recommenders.rcp.feature feature configures the dependency on ch.qos.logback.slf4j via a requires import instead of an plugin.
--- snip ---
<import plugin="ch.qos.logback.slf4j" version="1.0.0" match="compatible"/>
--- snip ---
[Updated on: Thu, 04 August 2016 01:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01367 seconds