Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You're having problems because org.hibernate:hibernate:3.3.2.GA is an aggregator POM used to build the rest of the modules, it isn't actually a jar. It looks like a refactoring happened after 3.2.7 and that's thrown people off. For reference this <a href="http://blog.hibernate.org/Bloggers/HibernateCore332MaintenanceRelease#comment11899" rel="noreferrer">blog entry</a> hints at problems they've had promoting Hibernate to central and may explain the change.</p> <p>If you look in the <a href="http://repository.jboss.org/maven2/org/hibernate/" rel="noreferrer">JBoss repository</a>, you'll see that the hibernate modules for 3.3.2.GA <em>are</em> hosted, they're just hosted as individual artifacts, hibernate-core, hibernate-ehcache etc. So your repository declaration is correct, you just need to fine tune the dependency declarations to take the change into account.</p> <p>The JBoss repository hosts <a href="http://repository.jboss.org/maven2/org/hibernate/hibernate-annotations/3.4.0.GA/" rel="noreferrer">hibernate-annotations-3.4.0.GA</a>, <a href="http://repository.jboss.org/maven2/org/hibernate/hibernate-validator/3.1.0.GA/" rel="noreferrer">hibernate-validator-3.1.0.GA</a>, and <a href="http://repository.jboss.org/maven2/org/hibernate/hibernate-core/3.3.2.GA/" rel="noreferrer">hibernate-core-3.3.2.GA</a> amongst others. Try adding the specific artifacts to your POM and use the JBoss repository as you've already declared.</p> <p>There is also a <a href="http://repository.jboss.org/maven2/org/hibernate/hibernate-distribution/3.3.2.GA/" rel="noreferrer">hibernate-dependencies</a> pom that provides transitive dependencies to the majority of hibernate artifacts (including core). So the simplest thing to do would be to replace your existing <em>hibernate</em> dependency declaration with <em>hibernate-dependencies</em></p> <p>Your dependencies would end up like this...</p> <pre><code>&lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-dependencies &lt;!--or hibernate-core--&gt;&lt;/artifactId&gt; &lt;version&gt;3.3.2.GA&lt;/version&gt; &lt;type&gt;pom&lt;/type&gt; &lt;!--hibernate-dependencies is a pom, not needed for hibernate-core--&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-annotations&lt;/artifactId&gt; &lt;version&gt;3.4.0.GA&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.hibernate&lt;/groupId&gt; &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt; &lt;version&gt;3.1.0.GA&lt;/version&gt; &lt;/dependency&gt; ... &lt;!--any other hibernate deps not inherited transitively--&gt; </code></pre> <p>To make your life simpler you could define all these hibernate dependencies in a project say called (hibernate-all), then reference that single project for all your projects that use hibernate (of course it would be nice if the hibernte team provided that project anyway).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload