Soumya Simanta
Soumya Simanta

Reputation: 11741

Alternatives to Maven for Java and Scala Development

I've been using Maven for a while for my Java (and now Scala) projects. Recently, I've seen some talk about issue with Maven (example). Personally, I'm happy with it till now. I've used sbt for Scala a little bit and I think it works well.

Again my point here is not to say which system is better but to expore out what other alternatives exist and how real developers are using them for Java and Scala projects.

Upvotes: 2

Views: 2357

Answers (2)

Janx
Janx

Reputation: 3333

I think if you're going to use Scala, you'll need to become familiar with SBT. It's the standard build system for Scala projects, and the build system of choice at every professional organization that I have worked at using Scala.

SBT has a bit of a learning curve, but it also has some amazing features - console is probably the one I use most - load up a shell with your project already on the CLASSPATH.

You can do some pretty clever stuff with SBT - in the end it's all Scala under the hood. The effort to pick it up is well worth it if you plan to work with Scala professionally.

Upvotes: 2

dbyrne
dbyrne

Reputation: 61021

There is a Scala plugin for Gradle.

Alternatively you could use Scala's built-in Ant tasks and Ivy for dependency management (which is what SBT uses internally).

Yet another option is Apache Buildr.

Pretty much any build system designed for Java-based projects should work with Scala.

Related:

Upvotes: 5

Related Questions