I need to define as a dependency the following library:
url: http://deploy.cloud.testmx.com:8081/nexus/content/groups/public/
user: testmx
pass: testmx@testmx
groupId: testmx
artifactId: testmxcommons
version: 1.0.0-SNAPSHOT
So I defined the following project/Build.scala
import sbt._
import Keys._
import PlayProject._
object ApplicationBuild extends Build {
val appName = "testmxproject"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
"mysql" % "mysql-connector-java" % "5.1.18",
"testmx" % "testmxcommons" % "1.0.0-SNAPSHOT"
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(
credentials += ("testmx public", "deploy.cloud.testmx.com:8081", "testmx", "testmx@testmx"),
resolvers += "testmx public" at "http://deploy.cloud.testmx.com:8081/nexus/content/groups/public/"
)
}
and I get the following error:
[warn] module not found: testmx#testmxcommons;1.0.0-SNAPSHOT
[warn] ==== testmx public: tried
[warn] http://deploy.cloud.testmx.com:8081/nexus/content/groups/public/testmx/textmxcommons/1.0.0-SNAPSHOT/textmxcommons-1.0.0-SNAPSHOT.pom
I tried several alternatives but they give me the same error...
I've checked this article and this SO question
And also tried saving the user and password on an external file, as it's explained here and here.
any idea?
-- edit to clarify --
I changed the real url because it's not a public repo I'm working with... The real url is there and the pom that sbt is trying to find does exist...
ps: BTW.. where are sbt scaladocs???