VersionEye SBT Plugin

Probably you know already the VersionEye Maven Plugin. Now there is a similar plugin for Scala SBT as well. The VersionEye SBT Plugin is maintained by Mark Paluch. He basically implemented the whole SBT plugin in 1 single day, because he is awesome!

sbt

Currently the plugin is not pushed to Maven Central or JCenter. Not yet! If you want to try it out, please clone the repository with git, navigate into the directory and run this to install the plugin into your local repository.

sbt publish

After that you can use the plugin in your own SBT projects. Simply follow the instructions on the README page here.

The cool thing is, that the plugin has a licenseCheck goal. This

sbt versioneye:licenseCheck

will update an existing VersionEye project with your current dependencies and check all dependencies against a central license whitelist on the server. If one of your dependencies is violating the license whitelist on the server, the plugin will exit with an Exception. If you run that goal on a CI server it will break your build if there is a license violation. If you work in a commercial team and you want to ensure that nobody is accidentally introducing a copyleft license, like GPL for example, then that’s the way to go 😉

Scala SBT Support

We just added another package manager to our list. Now VersionEye supports Scala SBT. Now VersionEye can monitor your build.sbt file on GitHub or Bitbucket and notify you about out-dated dependencies in your Scal project.

All you need to do is, login to VersionEye with your existing GitHub/Bitbucket account and navigate to your repository. Simply flip the switch beside your build.sbt file you would like to monitor.

Screen Shot 2014-09-15 at 10.50.42

After the file was parsed successfully the name turns into a link. Simply click on the link to see the out-dated dependencies.

Screen Shot 2014-09-15 at 10.51.02

Now you can see immediately which of your dependencies are out-dated and what would be the newest version number. By default VersionEye checks your project once a week and notifies you about out-dated dependencies in your project via email. Of course you can change the frequency in the settings.

But even better, if you click on the link “Visual Dependencies” VersionEye shows you ALL your transitive dependencies as JavaScript wheel.

Graph

As bigger the graph is, as more complex your project is. Try to keep it small 😉

The Scala SBT support is quiet young. Please let me know how it works for you. Your feedback is highly appreciated.