SBT to Maven Converter

前端 未结 3 1527
悲&欢浪女
悲&欢浪女 2020-12-07 17:50

Since most IDEs are only able to import Maven projects, I\'d like to generate a POM.xml from an SBT managed project, is there a better way to do it?

3条回答
  •  旧时难觅i
    2020-12-07 18:14

    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.

提交回复
热议问题