Play Framework - Maven dependency and missing jar

2 min read
Sometimes some dependency on maven is without the jar file but only the POM so the sbt throw an error.

To specify this case in your Build.scala you have to add pomOnly() in your dependency.

For example:

"org.openid4java" % "openid4java-consumer" % "0.9.6" pomOnly()