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
You could use a profile that either declares those dependencies as test or as provided - depending on what is more convenient for you:
whatever
env
whatever
yours
yours
provided
test
env
test
yours
yours
test
Those profiles get activated by setting the property env but there are other ways, f.e. default activation - have a look here for that.