shijinkui
shijinkui

Reputation: 169

why sbt use Ivy as default, not Maven?

i think Maven is more popular for us. Ivy is so difficult to use.

When using sbt with Maven, it's hard to process many errors for Ivy and Maven's path different.

Why sbt use Ivy, not Maven directly?

Upvotes: 3

Views: 563

Answers (1)

omerkudat
omerkudat

Reputation: 10091

I can only guess, but I think it might be because Ivy has a somewhat more flexible dependency management system. Incidentally, this additional flexibility makes it more powerful and also more complicated. For example, in Maven your dependency scopes are fixed (compile, test, runtime, etc) but in Ivy they are not, you can add more if you like. Also, Ivy has more flexible conflict resolvers when two dependencies bring in the same transitive dependency but at different versions; Ivy can be configured on how to select one.

But this is just a guess.

Upvotes: 3

Related Questions