title: hibernate3-maven-plugin dependencies for newer version of hibernate
body: <p>I would like to use hibernate-3.5-1.Final along with this plugin, what should be my dependencies here. It seems to be picking up a older set of jars and failing right now.</p>
  
  <pre><code>            &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate3-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2&lt;/version&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>EDIT1:</p>
  
  <pre><code>[INFO] class org.hibernate.cfg.ExtendedMappings has interface org.hibernate
  .cfg.Mappings as super class
  [INFO] --------------------------------------------------------------------
  ----
  [INFO] Trace
  java.lang.IncompatibleClassChangeError: class org.hibernate.cfg.ExtendedMap
  pings has interface org.hibernate.cfg.Mappings as super class
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
          at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
  va:124)
          at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
          at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
          at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmC
  lassLoader.java:195)
          at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClas
  sRealm.java:255)
          at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLo
  ader.java:214)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
          at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings
  (AnnotationConfiguration.java:187)
          at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(Anno
  tationConfiguration.java:277)
          at org.hibernate.cfg.Configuration.buildMappings(Configuration.java
  :1206)
          at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configurat
  ion.java:1226)
          at org.hibernate.ejb.EventListenerConfigurator.configure(EventListe
  nerConfigurator.java:173)
          at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.
  java:854)
          at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.
  java:191)
          at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.
  java:253)
  </code></pre>