Fixes from review

This commit is contained in:
Josh Suereth 2015-07-24 12:48:11 -04:00
parent 9beff22d9a
commit 92acfe1287
2 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,10 @@
[@jsuereth]: http://github.com/jsuereth
[2127]: https://github.com/sbt/sbt/pull/2127
### Fixes with compatibility implications
### Improvements
- makePom now warns when it sees intransitive dependencies, which do not translate to Maven. by [@jsuereth][@jsuereth]
- makePom now warns when it sees intransitive dependencies, which do not translate to Maven. by [#2127][2127][@jsuereth][@jsuereth]
### Bug fixes

View File

@ -13,7 +13,6 @@ checkPom := {
sys.error("Expected no <type> sections, got: " + tpe + " in \n\n" + pom)
}
val dir = (streams in makePom).value.cacheDirectory / "out"
System.out.println(dir.getAbsolutePath)
val lines = IO.readLines(dir)
val hasError = lines exists { line => line contains "Translating intransitive dependency "}
assert(hasError, s"Failed to detect intransitive dependencies, got: ${lines.mkString("\n")}")