SBT 到 Maven 转换器 [英] SBT to Maven Converter

查看:19
本文介绍了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 来自 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 转换器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆