SBT to Maven Converter
Did you try make-pom
from sbt?
It generates basic POM for the current project at the ./target.
To customize generation, you can override pomExtra
, pomIncludeRepository
and pomPostProcess
at the project definition.
Vasil's answer is correct, but for Eclipse and IDEA you can generate IDE metadata more directly using plugins. For IDEA https://github.com/mpeltonen/sbt-idea, and for Eclipse https://github.com/musk/SbtEclipsify .
There is a very direct way provided by SBT. You can use the below command where your SBT file exixts:
sbt makePom
This will generate the .pom file in the target folder you can search that and rename to pom.xml and keep that file in the location and run mvn clean compile install to get full out of it.