[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3486?page=c...
]
Sam Douglass commented on HHH-3486:
-----------------------------------
Ah, sorry I misunderstood your statement. I didn't know about SLF4J requiring one and
only one binding jar on the classpath, either. A quick look at their manual confirms that
is indeed the case.
Making a hypothetical default/bundled adapter go away ought to be pretty straightforward,
though, with an exclude in the hibernate-core dependency in your project's pom.xml:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.3.2.GA</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- specify a dependency on your preferred SLF4J adapter here -->
Also, after a quick look at other SLF4J adapter options, maybe the NOP or Simple adapters
would make better candidates than the JDK adapter...
Include one ore more SLF4J "adapters"
-------------------------------------
Key: HHH-3486
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3486
Project: Hibernate Core
Issue Type: Improvement
Components: build
Affects Versions: 3.3.0.GA, 3.3.0.SP1, 3.3.1
Reporter: Chris Bredesen
Assignee: Steve Ebersole
Hibernate, as of 3.3, no longer distributes all jars needed to run the framework. SLF4J
requires the inclusion of the SLF4J library as well as either a native or a wrapped
implementation. The manual vaguely references such a need but it's never quite clear
that the user must visit the SLF4J website and obtain these jars himself. Maven users are
of course unaffected since the additional SLF4J jars are published in the central repo.
"Adapter" may be the wrong term here but I think the point has been made :)
--
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