Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val snapshotsName = "Repository Snapshots"
- val snapshotsUrl = new java.net.URL("http://nexusHostIp:8081/nexus/content/repositories/snapshots")
- val snapshotsPattern = "[organisation]/[module]/[revision]-SNAPSHOT/[artifact]-[revision](-[timestamp]).[ext]"
- val snapshots = Resolver.url(snapshotsName, snapshotsUrl)(Patterns(snapshotsPattern))
- Credentials(Path.userHome / ".ivy2" / ".credentials", log)
- val dep = "group" % "artifact" % "0.0.1" extra("timestamp" -> "20101202.195418-3")
- realm=Snapshots Nexus
- host=nexusHostIp:8081
- user=nexususername
- password=nexuspassword
- ==== Repository Snapshots: tried
- [warn] -- artifact group#artifact;0.0.1!artifact.jar:
- [warn] http://nexusHostIp:8081/nexus/content/repositories/snapshots/group/artifact/0.0.1-SNAPSHOT/artifact-0.0.1-20101202.195418-3.jar
- Credentials.add("Repository Snapshots", "nexusHostIp", "nexususername", "nexuspassword")
- Credentials.add("Sonatype Nexus Repository Manager", "nexusHostIp", "nexususername", "nexuspassword")
- val snapshotsName = "Repository Snapshots"
- val snapshotsUrl = new java.net.URL("http://nexusHostIp:8081/nexus/content/repositories/snapshots")
- val snapshotsPattern = "[organisation]/[module]/[revision]-SNAPSHOT/[artifact]-[revision](-[timestamp]).[ext]"
- val snapshots = Resolver.url(snapshotsName, snapshotsUrl)(Patterns(snapshotsPattern))
- Credentials(Path.userHome / ".ivy2" / ".credentials", log)
- val dep = "group" % "artifact" % "0.0.1" extra("timestamp" -> "20101202.195418-3")
- realm=Sonatype Nexus Repository Manager
- host=nexusHostIp
- user=nexususername
- password=nexuspassword
- [repositories]
- local
- my-ivy-proxy-releases: http://repo.company.com/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
- my-maven-proxy-releases: http://repo.company.com/maven-releases/
- realm=Artifactory Realm
- host=artifactory.mycompany.com
- user=username
- password=password
- credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement