sbt-updates-plugin

https://github.com/rtimush/sbt-updates

「依存しているライブラリの新しいversionが出ているかどうかチェックしてくれるplugin」です。

依存が1つとか2つとか少ないなら、あまり必要ないかもですが、多くなってくると地味に面倒ですよね。あとREADMEにも書いてあるけど、こういうのはglobal pluginにすると便利ですね。

以前作った、クラス図を表示するプログラム

http://d.hatena.ne.jp/xuwei/20110325/1301055337

とか、自分で適当に選んだScalaを中心とした色んなライブラリを20〜30は突っ込んであって

https://github.com/xuwei-k/class-diagrams/blob/e1222dc596f43bef90f41ea39560b005b7322c4b/project/ClassDiagramsBuild.scala#L11-57

一個づつ調べたら地味に面倒なわけですが(今まで、気が向いたらその地味な作業やってた)
このplugin試してみたら以下のような感じで表示されました

> dependency-updates
[info] Found 25 dependency updates for class-diagrams
[info]   net.databinder:unfiltered-agents           : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-filter           : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-filter-async     : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-jetty            : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-jetty-ajp        : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-json             : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-netty            : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-netty-server     : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-netty-websockets : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-oauth            : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-scalatest        : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-spec             : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-uploads          : 0.6.3 -> 0.6.4         
[info]   net.databinder:unfiltered-util             : 0.6.3 -> 0.6.4         
[info]   net.liftweb:lift-actor                     : 2.4   -> 2.5.0-M1      
[info]   net.liftweb:lift-common                    : 2.4   -> 2.5.0-M1      
[info]   net.liftweb:lift-json                      : 2.4   -> 2.5.0-M1      
[info]   net.liftweb:lift-json-ext                  : 2.4   -> 2.5.0-M1      
[info]   net.liftweb:lift-json-scalaz               : 2.4   -> 2.5.0-M1      
[info]   net.liftweb:lift-util                      : 2.4   -> 2.5.0-M1      
[info]   org.scala-tools:scala-stm                  : 0.5   -> 0.6.0         
[info]   org.scalaj:scalaj-http                     : 0.3.1 -> 0.3.2         
[info]   org.scalaxb:scalaxb                        : 0.6.8 -> 0.7.3         
[info]   org.specs2:specs2                          : 1.9   -> 1.12.2        
[info]   play:play                                  : 2.0.2 -> 2.1.0-07132012
[success] Total time: 15 s, completed Oct 16, 2012 8:36:19 AM

ちなみにまだ、1週間前とかにでたばかりです。