本文介绍了SBT到Maven转换器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于大多数IDE只能导入Maven项目,因此我想从SBT托管项目中生成POM.xml,是否有更好的方法呢?

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?

推荐答案

您尝试make-pom " rel ="noreferrer"> sbt ?

它在 ./target 处为当前项目生成基本的POM.要自定义生成,可以在项目定义中覆盖pomExtrapomIncludeRepositorypomPostProcess.

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.

这篇关于SBT到Maven转换器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 07:41