title: What will happen if I don't specify a version for a Maven dependency?
body: <p>i have seen in the project maven dependency specified like the following,</p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>there is no version defined in the dependency, so what will happen if i don't give version name and why it is given like above.</p>
  
  <p>would some one explain the reason please.</p>