mirror of https://github.com/sbt/sbt.git
Improve warning message
This commit is contained in:
parent
0d925630df
commit
bdffad2845
|
|
@ -16,8 +16,9 @@ private[sbt] object CompatibilityWarning {
|
||||||
directDependencies foreach { m =>
|
directDependencies foreach { m =>
|
||||||
if (!m.isTransitive) {
|
if (!m.isTransitive) {
|
||||||
log.warn(
|
log.warn(
|
||||||
s"""Found intransitive dependency ($m), but Maven repositories do not support intransitive dependencies.
|
s"""Found intransitive dependency ($m) while publishMavenStyle is true, but Maven repositories
|
||||||
| Use exclusions instead so transitive dependencies will be correctly excluded in dependent projects.
|
| do not support intransitive dependencies. Use exclusions instead so transitive dependencies
|
||||||
|
| will be correctly excluded in dependent projects.
|
||||||
""".stripMargin)
|
""".stripMargin)
|
||||||
} else ()
|
} else ()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue