Mahoney / slf4j-test

Implementation of SLF4J which allows easy access to logging events in tests
39 stars 24 forks source link

classpathDependencyExcludes are not picked up by IntelliJ #15

Open TimoMeijer opened 8 years ago

TimoMeijer commented 8 years ago

The solution as described in the documentation, with surefire classpathDependencyExcludes, does not work when run through IntelliJ. This causes this logging framework to work correctly on commandline, but still cause logging framework conflicts when run in IntelliJ.

Is there a way to make this framework compatible with IntelliJ?

marcusmoncayo commented 7 years ago

+1 on this. I am running into the same error.

KieranPeat commented 7 years ago

+1 :(

woshilapin commented 6 years ago

This is the bug to track on IntelliJ side https://youtrack.jetbrains.com/issue/IDEA-122783

woshilapin commented 6 years ago

A workaround is to declare slf4j-test dependency as the first dependency in the project you want to use so it should be picked up before any other SLF4J implementation.