Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij doesn't add maven provided scoped dependencies to the classpath

I've got a project using Hadoop as a dependency with 'Provided' scope. I'm unable to run the project in Intellij 13.1 without opening the module settings and changing the scope of all provided dependencies to Compile. How can I get intellij do to this for me?

like image 758
eaubin Avatar asked Oct 02 '14 19:10

eaubin


1 Answers

There is an option in run configuration:

Include dependencies with "Provided" scope.

enter image description here

Check it on. :)

like image 146
Aylwyn Lake Avatar answered Sep 27 '22 17:09

Aylwyn Lake