I have a dependency in my POM that needs to be set to \"provided\" so it is not included at compilation, but it can still be referenced within my project. I would like the same
Use the maven-surefire-plugin to run your junit tests. The scope of provided will also make it available on the test classpath.