mirror of https://github.com/sbt/sbt.git
fix dep-mgmt tests
This commit is contained in:
parent
e8b8be7547
commit
ffc46fed7f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue