Play's setup is based on SBT, so you need to use SBT's underlying Ivy
dependencies to remove it. Look for "Exclude Transitive Dependencies"
http://www.scala-sbt.org/release/docs/Detailed-Topics/Library-Management
libraryDependencies +=
"log4j" % "log4j" % "1.2.15" excludeAll(
ExclusionRule(organization = "com.sun.jdmk"),
ExclusionRule(organization = "com.sun.jmx"),
ExclusionRule(organization = "javax.jms")
)
On Tue, Oct 30, 2012 at 4:08 AM, Mirko Calvaresi <
mcc...@gmail.com> wrote:
> Hello, everyone. I need to remove the default dependencies to Hibernate core
> because conflicting with a dependencies of ax external library. I'm using
> Play 2.0.4
> I've tried
> val appDependencies = Seq(
> "play" %% "play" % play.core.PlayVersion.current exclude("org.hibernate",
> "hibernate-core"),
> without any success.
> Could you help me please?
>
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/play-framework/-/DNT1-4C2kVMJ.
> To post to this group, send email to
play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
>
play-framewor...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/play-framework?hl=en.