Permalink
Browse files

Temporary remapping to sonatype repo

  • Loading branch information...
1 parent 0985533 commit 37e7e7b3f5ecf463e365f70450a9b4ef0b0096b2 @indrajitr indrajitr committed Feb 29, 2012
View
6 sbt/project/build/LiftPluginProject.scala
@@ -10,7 +10,8 @@ class LiftPluginProject(info: ProjectInfo) extends PluginProject(info) with Mave
// Set up publish repository
object PublishRepositories {
val local = Resolver.file("Local Maven Distribution Repository", Path.userHome / ".m2" / "repository" asFile)
- val snapshot = "Scala-Tools Distribution Repository for Snapshots" at "http://nexus.scala-tools.org/content/repositories/snapshots/"
+ // val snapshot = "Scala-Tools Distribution Repository for Snapshots" at "http://nexus.scala-tools.org/content/repositories/snapshots/"
+ val snapshot = "Sonatype Nexus Repository for Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
val release = "Scala-Tools Distribution Repository for Releases" at "http://nexus.scala-tools.org/content/repositories/releases/"
}
@@ -36,7 +37,8 @@ protected trait MavenCredentials extends BasicDependencyProject {
lazy val ivyCredentialsPath = Path.userHome / ".ivy2" / ".scalatools.credentials"
lazy val mavenCredentialsPath = Path.userHome / ".m2" / "settings.xml"
- lazy val scalaTools = ("Sonatype Nexus Repository Manager", "nexus.scala-tools.org")
+ // lazy val scalaTools = ("Sonatype Nexus Repository Manager", "nexus.scala-tools.org")
+ lazy val scalaTools = ("Sonatype Nexus Repository Manager", "oss.sonatype.org")
(ivyCredentialsPath.asFile, mavenCredentialsPath.asFile) match {
case(ivy, _) if ivy.canRead => Credentials(ivy, log)
View
3 sbt/src/main/scala/net/liftweb/sbt/Configuration.scala
@@ -36,7 +36,8 @@ protected trait Configuration extends BasicManagedProject {
object DistributionRepositories {
lazy val local = Resolver.file("Local Maven Distribution Repository", Path.userHome / ".m2" / "repository" asFile)
- lazy val snapshot = "Scala-Tools Distribution Repository for Snapshots" at "http://nexus.scala-tools.org/content/repositories/snapshots/"
+ // lazy val snapshot = "Scala-Tools Distribution Repository for Snapshots" at "http://nexus.scala-tools.org/content/repositories/snapshots/"
+ lazy val snapshot = "Sonatype Nexus Repository for Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
lazy val release = "Scala-Tools Distribution Repository for Releases" at "http://nexus.scala-tools.org/content/repositories/releases/"
}
View
3 sbt/src/main/scala/net/liftweb/sbt/Credential.scala
@@ -38,7 +38,8 @@ protected trait Credential extends BasicManagedProject {
lazy val ivyCredentials = Path.userHome / ".ivy2" / ".scalatools.credentials"
lazy val mavenCredentials = Path.userHome / ".m2" / "settings.xml"
- lazy val scalaTools = ("Sonatype Nexus Repository Manager", "nexus.scala-tools.org")
+ // lazy val scalaTools = ("Sonatype Nexus Repository Manager", "nexus.scala-tools.org")
+ lazy val scalaTools = ("Sonatype Nexus Repository Manager", "oss.sonatype.org")
(ivyCredentials.asFile, mavenCredentials.asFile) match {
case (ivy, _) if ivy.canRead =>

0 comments on commit 37e7e7b

Please sign in to comment.