[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3942?page=c...
]
Bruno Harbulot commented on HHH-3942:
-------------------------------------
Hello,
Yes, you're right (and commons-logging wasn't necessary in fact, I was wrong.)
Hibernate forces a dependency on slf4j (there's a direct import in
hibernate-3.3.1.GA/core/src/main/java/org/hibernate/tuple/PojoInstantiator.java, for
example), but this dependency is declared in the parent POM.
Sorry about this.
Missing Maven dependencies in hibernate-core-3.3.1.GA.pom
---------------------------------------------------------
Key: HHH-3942
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3942
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.3.1
Environment: Hibernate 3.3.1.GA, Linux and Maven
Reporter: Bruno Harbulot
Assignee: Steve Ebersole
I've been trying to use this from the JBoss Maven repository:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.1.GA</version>
</dependency>
However, I've had to add these (to avoid ClassNotFoundExceptions):
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.4.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.10.0.GA</version>
<scope>runtime</scope>
</dependency>
I'm not sure these are the version numbers that were used, but these seem to work.
In addition, javassist already is in hibernate-core-3.3.1.GA.pom, but it's declared
as optional (it seems required at runtime).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira