Community
Participate
Working Groups
It is currently not possible to install Eclipse Groovy and Eclipse the "m2e slf4j-over-logback" at the same time, apparently due to a problem in the interaction between these bundles and the logback-classic bundle. There are several related issues in different trackers: - https://github.com/groovy/groovy-eclipse/issues/1275 - https://github.com/groovy/groovy-eclipse/issues/1237 - https://github.com/eclipse-m2e/m2e-core/issues/269 - https://github.com/pmd/pmd-eclipse-plugin/issues/134 One person who analyzed the problem believes to have tracked it down at least partially to an import on "groovy.lang" in the "logback-classic" bundle that is missing a version range: - https://github.com/eclipse-m2e/m2e-core/issues/269#issuecomment-882647035
Looking at the latest code it seems that Groovy has been disabled. https://github.com/qos-ch/logback/blob/61ffd3aba042bbb22f588599ff5574d3b9667d22/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java#L73 It might be worth to consider disabling Groovy in our Logback Classic bundle permanently.
I have created a groovless branch of logback version 1.2.4. It is available at https://github.com/qos-ch/logback/tree/branch_1.2.x_groovyless Please let me know if this solves the issue and hopefully without creating others. If satisfactory, I can cut a release.
Thank you for the branch. Considering this is a cross-project issue, it may take a moment to figure out who can contribute what in order to test this.
Please find logback version 1.2.4-groovyless available in Maven Central [1]. This should make testing easier. [1] https://repo.maven.apache.org/maven2/ch/qos/logback/logback-core/1.2.4-groovyless/