title: How to install apache commons library for IntelliJ IDEA?
body: <p><code>commons-lang3-3.1-bin.zip</code> was downloaded from <a href="http://commons.apache.org/proper/commons-lang/download_lang.cgi" rel="noreferrer">commons.apache.org</a> and extracted to folder with java <code>jdk/lib</code>. I need to import Stopwatch from this library. How to do it for IntelliJ IDEA?</p>
  
  <p>Update:
   Why can't intelliJ just add pom.xml to existing project without trying to delete it?
   <img src="https://i.stack.imgur.com/IRb92.png" alt="enter image description here"></p>
  
  <p><strong>Solved this way:</strong></p>
  
  <p>Downloaded a lib from <a href="http://commons.apache.org/" rel="noreferrer">http://commons.apache.org/</a>
    intelliJ > Project Structure > Dependencies> + > Library > path to lib from commons.apache.org</p>
  
  <p>PS. Still looking for a way to solve this using Maven...</p>
  
  <p><strong>Not solved with Maven:</strong>
  <img src="https://i.stack.imgur.com/opdnq.png" alt="enter image description here"></p>
  
  <p>Cannot Run project. Have to probably I have to configure it somehow...</p>
  
  <p><strong>1</strong></p>
  
  <p><img src="https://i.stack.imgur.com/IRpiW.png" alt="enter image description here"></p>
  
  <p><strong>2</strong></p>
  
  <p><img src="https://i.stack.imgur.com/TJGRd.png" alt="enter image description here"></p>
  
  <p>How to fix it?</p>
  
  <p><img src="https://i.stack.imgur.com/75Hp1.png" alt="enter image description here"></p>