I am evaluating Play 2.x for Java for my org, and would like to use a pom.xml (or if it comes to that, an ivy.xml) file in conjunction with my Build.scala, as this makes for far easier IDE integration.
I looked both at https://github.com/playframework/Play20/wiki/SBTDependencies and at https://github.com/harrah/xsbt/wiki/Library-Management, and I unfortunately couldn't figure out where I should add the externalPom()
call.
So the structure of my project is as follows:
projectname
-pom.xml
-project
- Build.scala
and this is my Build.scala file:
object ApplicationBuild extends Build {
val appName = "Siddhu Warrier"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
// Add your project dependencies here,
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
// Add your own project settings here
)
}
How do I get it to use my pom.xml?
Thanks in advance!