当我makePom
在 sbt 中运行时,我得到:
[warn] Skipped generating '<exclusion/>' for org.scalaz#*. Dependency exclusion should have both 'org' and 'module' to comply with Maven POM's schema.
[warn] Skipped generating '<exclusion/>' for com.jolbox#*. Dependency exclusion should have both 'org' and 'module' to comply with Maven POM's schema.
解决此问题以便生成正确的排除项的最简单方法是什么?
以下不起作用- 它违反了 scalaz 排除规则 - 我认为是因为 scalaz 7 由多个 jar 组成:
ExclusionRule(organization = "org.scalaz", name="scalaz-core")
和
ExclusionRule(organization = "com.jolbox", name="bonecp")