title: Configure pom.xml for hibernate 3.6
body: <p>I've tried to configure <code>pom.xml</code> file for my <code>Spring 3</code> and <code>Hibernate 3.6</code> application.
  The relevant part of <code>pom.xml</code> looks like this:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;5.1.9&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
          &lt;version&gt;3.6.3.Final&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.javassist&lt;/groupId&gt;
          &lt;artifactId&gt;javassist&lt;/artifactId&gt;
          &lt;version&gt;3.17.1-GA&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;asm&lt;/groupId&gt;
          &lt;artifactId&gt;asm-all&lt;/artifactId&gt;
          &lt;version&gt;2.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;antlr&lt;/groupId&gt;
          &lt;artifactId&gt;antlr&lt;/artifactId&gt;
          &lt;version&gt;2.7.7&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Nevertheless, if I don't include <code>javassist.jar</code> library directly to my buildpath as an <code>External jar</code>, I keep getting <code>java.lang.ClassNotFoundException</code>. Is there anything wrong in my <code>pom.xml</code>, due it doesn't download this dependency when building the project?</p>