使用Sbt 0.13.7并播放! 2.3.7我对被驱逐的图书馆收到以下警告:
[info] io.netty:netty
[info] - 3.9.3.Final
[info] status: release
[info] publicationDate: Wed Aug 06 20:59:02 CEST 2014
[info] resolver: sbt-chain
[info] artifactResolver: sbt-chain
[info] evicted: false
[info] homepage: http://netty.io/
[info] isDefault: false
[info] configurations: compile, master(*), runtime, compile(*), runtime(*), master
[info] licenses: (Apache License, Version 2.0,Some(http://www.apache.org/licenses/LICENSE-2.0))
[info] callers: com.typesafe.netty:netty-http-pipelining:1.1.2, com.typesafe.play:play_2.11:2.3.7
[info] - 3.6.3.Final
[info] evicted: true
[info] evictedData: latest-revision
[info] configurations: compile, master(*), runtime, compile(*), runtime(*), master
[info] callers: com.typesafe.netty:netty-http-pipelining:1.1.2
...
[info] org.webjars:jquery
[info] - 2.1.3
[info] status: release
[info] publicationDate: Thu Dec 18 17:24:20 CET 2014
[info] resolver: sbt-chain
[info] artifactResolver: sbt-chain
[info] evicted: false
[info] homepage: http://webjars.org
[info] isDefault: false
[info] configurations: default(compile), default, compile, runtime, master, master(*), compile(*), runtime(*)
[info] licenses: (MIT License,Some(https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt))
[info] callers: org.webjars:bootstrap:3.3.2, mdpm:caving_2.11:0.1.0
[info] - 1.11.1
[info] evicted: true
[info] evictedData: latest-revision
[info] configurations: compile, master(*), runtime, compile(*), runtime(*), master
[info] callers: org.webjars:bootstrap:3.3.2
为什么
com.typesafe.netty:netty-http-pipelining:1.1.2
wrt。 io.netty:netty
org.webjars:bootstrap:3.3.2
wrt org.webjars:jquery
在两个部分列出?例如,使用jQuery 1.11.1和2.1.3是bootstrap:3.3.2
吗?我猜不会。我在这里缺少什么?
最后,如何解决这些“问题”?
答案 0 :(得分:3)
Ivy的更新报告并没有区分(我认为)
要了解情况的最后部分,您必须search for the POM in Maven Central。它说bootstrap 3.3.2使用jQuery 1.11.1。
Netty出现了,因为sbt无法处理.Final
事。
最后,如何解决这些"问题"?
这取决于各个库提供的兼容性。默认情况下,驱逐警告使用语义版本控制来在不交叉构建库时推断兼容性(没有_2.11
后缀)。您可以执行以下几项操作: