title: Import Maven dependencies in IntelliJ IDEA
body: <p>I just imported a project from subversion to IntelliJ IDEA 11 - it's a maven project. But I have a problem in maven library dependencies so that I can't include all maven dependencies automatically - IDEA shows dependency errors only when I open that class/ Thats what I get here:</p>
  <p><img src="https://i.stack.imgur.com/v5K5p.png" alt="enter image description here" /></p>
  <p>So I want all dependencies to be added automatically - is that possible or do I have to go through all class files to identify and add maven dependencies?!</p>
  <p>UPDATE: After doing some modifications I found how to resolve my problem in some way. Thats what I did:
  <img src="https://i.stack.imgur.com/KslcB.png" alt="enter image description here" /></p>
  <p>but I think logically it will not include and check new dependencies ahead?!... Is there any settings area for this in intelliJ - auto export dependencies to classpath?</p>