在SBT上使用Maven插件 [英] Use maven plugin on SBT
本文介绍了在SBT上使用Maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
反正有在SBT上使用Maven插件吗?
Is there anyway to use a maven plugin on SBT?
推荐答案
否. sbt通过 sbt-pom-reader 确实以有限的方式支持pom.xml,但是我们确实不支持使用Maven插件.它有自己的插件生态系统,因此也许您可以找到类似的插件生态系统.
No. sbt does support pom.xml in limited way via sbt-pom-reader, but we do not support the use of maven plugins. It has its own plugin ecosystem, so maybe you could find similar one that does the job.
如果您需要将Maven插件作为库引入,则需要以下设置:
If you need to pull in Maven plugin as a library, you would need this setting:
classpathTypes += "maven-plugin"
这篇关于在SBT上使用Maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文