[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3942) Missing Maven dependencies in hibernate-core-3.3.1.GA.pom
Bruno Harbulot (JIRA)
noreply at atlassian.com
Fri Jun 5 12:15:13 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33346#action_33346 ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list