2 years ago

#73804

test-img

pavel_orekhov

How to simplify working with provided dependencies?

I've seen this problem many times that I work on a java/scala project and there's a provided dependency that is on the classpath of the server (so, there's no need to include it inside the uber jar), but locally I don't have it and I have to constantly comment out the <scope>provided</scope> setting in pom.xml to make my project work properly.

Is there a way to simplify this somehow, so that I don't have to constantly comment out the <scope>provided</scope> thing?

java

scala

maven

sbt

0 Answers

Your Answer

Accepted video resources