eaubin
eaubin

Reputation: 674

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?

Upvotes: 13

Views: 10671

Answers (1)

Aylwyn Lake
Aylwyn Lake

Reputation: 2027

There is an option in run configuration:

Include dependencies with "Provided" scope.

enter image description here

Check it on. :)

Upvotes: 29

Related Questions