Migrating from Maven to SBT

Posted by Vasil Remeniuk on Stack Overflow See other posts from Stack Overflow or by Vasil Remeniuk
Published on 2010-06-04T07:22:10Z Indexed on 2010/06/05 6:12 UTC
Read the original article Hit count: 329

Filed under:
|
|
|
|

Hi people,

As you know, SBT is compatible with Maven in some way -- SBT recognizes simple Maven POMs and can use dependencies and repositories specified in them. However, SBT wiki says that, if inline dependency is specified in SBT project definition, POM will be ignored (so using both in this case is impossible):

Maven and Ivy configurations (pom.xml and ivy.xml) are ignored when inline dependency declarations are present.

Does anyone know, if any kind of converter from Maven POM to SBT project definition exists (translating POM's XML into project definition Scala code)? I'm considering writing such script (that will help to migrate my old Scala/Maven projects to SBT), but want to know first, if this functionality already exists.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about scala