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
Try declaring the dependency twice, once with each scope. Works in Maven 2.2.1.
Confusing things happen with dependency resolution, when the same artifact is in the dependency tree twice with different scopes, but I don't think it should be a problem in your case.