Play Framework 2.0 - How to exclude packages from dependencies

2 min read
In Build.scala change your classic dependence

"xxxx" % "xxxxxxx" % "X.X"

in

("xxxx" % "xxxxxxx" % "X.X" notTransitive())

and add the packages to exclude like

("xxxx" % "xxxxxxx" % "X.X" notTransitive()).exclude("com.google.guava", "guava").exclude("javassist", "javassist")

Bye, marco