mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 14:17:13 +02:00
Improve warning message
This commit is contained in:
committed by
Dale Wijnand
parent
eef906e09a
commit
54fa9dd416
@@ -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 ()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user