fix dep-mgmt tests

This commit is contained in:
Mark Harrah 2012-05-05 20:35:04 -04:00
parent e8b8be7547
commit ffc46fed7f
2 changed files with 3 additions and 2 deletions

View File

@ -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/>) }
)

View File

@ -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