In various attempts I've tried one line or the other there but I always end up with something like this:val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(defaultJavaSettings: _*).settings(// resolvers += "Local Repository" at file(Path.userHome + "/.m2/repository")(Resolver.mavenStylePatterns)resolvers += Resolver.file("Local Repository", file(Path.userHome + "/.m2/repository"))(Resolver.mavenStylePatterns))
I'm trying to convince play to use my local maven repository and not having much luck. Based on various bits of advice on blogs and irc i've been trying this:In various attempts I've tried one line or the other there but I always end up with something like this:val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(defaultJavaSettings: _*).settings(// resolvers += "Local Repository" at file(Path.userHome + "/.m2/repository")(Resolver.mavenStylePatterns)resolvers += Resolver.file("Local Repository", file(Path.userHome + "/.m2/repository"))(Resolver.mavenStylePatterns))[error] /Users/jlee/personal/dev/ophelia/project/Build.scala:17: not found: value resolvers[error] resolvers += Resolver.file("Local Repository", file(Path.userHome + "/.m2/repository"))(Resolver.mavenStylePatterns)[error] ^[error] one error found[error] {file:/Users/jlee/personal/dev/ophelia/project/}default-bfbbcc/compile:compile: Compilation failedWhat am I missing?
--
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/-/80pznYs8l9kJ.
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.