Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix dep-mgmt tests

  • Loading branch information...
commit bf7e361e23b36aa4f84c4648aaac4e5d32ba6067 1 parent 152a50a
@harrah authored
View
1  sbt/src/sbt-test/dependency-management/make-pom/project/MakePomTest.scala
@@ -8,6 +8,7 @@ object MakePomTest extends Build
readPom <<= makePom map XML.loadFile,
TaskKey[Unit]("check-pom") <<= checkPom,
TaskKey[Unit]("check-extra") <<= checkExtra,
+ resolvers ++= Seq(ScalaToolsReleases, ScalaToolsSnapshots),
makePomConfiguration ~= { _.copy(extra = <extra-tag/>) }
)
View
2  sbt/src/sbt-test/dependency-management/pom-advanced/project/PomRepoTest.scala
@@ -5,7 +5,7 @@
object PomRepoTest extends Build
{
lazy val root = Project("root", file(".")) settings(
- resolvers ++= Seq(local, ScalaToolsSnapshots),
+ resolvers ++= Seq(local, ScalaToolsReleases, ScalaToolsSnapshots),
InputKey[Unit]("check-pom") <<= InputTask(_ => spaceDelimited("<args>")) { result => (makePom, result, streams) map checkPomRepositories },
makePomConfiguration <<= (makePomConfiguration, baseDirectory) { (conf, base) =>
conf.copy(filterRepositories = pomIncludeRepository(base, conf.filterRepositories) )
View
4 sbt/src/sbt-test/dependency-management/pom-advanced/test
@@ -1,9 +1,9 @@
# write the default pom. The only repositories should be Scala Tools Releases and Snapshots
-> check-pom http://scala-tools.org/repo-releases/ http://scala-tools.org/repo-snapshots/
+> check-pom https://oss.sonatype.org/content/repositories/releases/ https://oss.sonatype.org/content/repositories/snapshots/
# include file:// repositories. The generated repositories section should include the local Maven repository as well
$ touch repo.all
-> check-pom http://scala-tools.org/repo-releases/ http://scala-tools.org/repo-snapshots/ file://*.m2/repository/
+> check-pom https://oss.sonatype.org/content/repositories/releases/ https://oss.sonatype.org/content/repositories/snapshots/ file://*.m2/repository/
# include file:// repositories. The generated repositories section should include the local Maven repository as well
$ delete repo.all
Please sign in to comment.
Something went wrong with that request. Please try again.