What is the best way to declare a Maven dependency as only being used for the test runtime (but not test compilation) class path?
Specifically, I want slf4j-api
slf4j-api
As a workaround i would suggest to have separate maven project with test cases that depend on main project