mirror of https://github.com/sbt/sbt.git
Fixes from review
This commit is contained in:
parent
9beff22d9a
commit
92acfe1287
|
|
@ -1,9 +1,10 @@
|
||||||
[@jsuereth]: http://github.com/jsuereth
|
[@jsuereth]: http://github.com/jsuereth
|
||||||
|
[2127]: https://github.com/sbt/sbt/pull/2127
|
||||||
|
|
||||||
### Fixes with compatibility implications
|
### Fixes with compatibility implications
|
||||||
|
|
||||||
### Improvements
|
### 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
|
### Bug fixes
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ checkPom := {
|
||||||
sys.error("Expected no <type> sections, got: " + tpe + " in \n\n" + pom)
|
sys.error("Expected no <type> sections, got: " + tpe + " in \n\n" + pom)
|
||||||
}
|
}
|
||||||
val dir = (streams in makePom).value.cacheDirectory / "out"
|
val dir = (streams in makePom).value.cacheDirectory / "out"
|
||||||
System.out.println(dir.getAbsolutePath)
|
|
||||||
val lines = IO.readLines(dir)
|
val lines = IO.readLines(dir)
|
||||||
val hasError = lines exists { line => line contains "Translating intransitive dependency "}
|
val hasError = lines exists { line => line contains "Translating intransitive dependency "}
|
||||||
assert(hasError, s"Failed to detect intransitive dependencies, got: ${lines.mkString("\n")}")
|
assert(hasError, s"Failed to detect intransitive dependencies, got: ${lines.mkString("\n")}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue