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 =>
|
||||
if (!m.isTransitive) {
|
||||
log.warn(
|
||||
s"""Found intransitive dependency ($m), but Maven repositories do not support intransitive dependencies.
|
||||
| Use exclusions instead so transitive dependencies will be correctly excluded in dependent projects.
|
||||
s"""Found intransitive dependency ($m) while publishMavenStyle is true, but Maven repositories
|
||||
| do not support intransitive dependencies. Use exclusions instead so transitive dependencies
|
||||
| will be correctly excluded in dependent projects.
|
||||
""".stripMargin)
|
||||
} else ()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue