mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 16:54:29 +02:00
fix dep-mgmt tests
This commit is contained in:
@@ -9,6 +9,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/>) }
|
||||
)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user