[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3942) Missing Maven dependencies in hibernate-core-3.3.1.GA.pom

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Jun 3 18:28:13 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33325#action_33325 ] 

Steve Ebersole commented on HHH-3942:
-------------------------------------

1) javassist -> so *either* javassist *or* cglib is required.  You are free to choose.  That's the reason it is optional.  The nature of how these bytecode providers are used means that we cannot split them out into separate modules, whcih would be the better solution from a dep perspective

2) slf4j -> again, its optional which logging backend you want to use.  Yes you must chose one, but Hibernate should not force one on you

3) commons-logging not sure why that would be needed.  I'd have to understand this one some more.  Can you provide more details about it?  Probably the issue is that org.slf4j:jcl-over-slf4j is only defined in test scope in parent/pom.xml

> 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
>
> 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