【问题标题】:How to include FMPP as a maven dependency not as a plugin如何将 FMPP 作为 Maven 依赖项而不是作为插件包含在内
【发布时间】:2014-11-21 13:54:18
【问题描述】:

我想写一个 FMPP 前端应用程序,但是官方文档没有解释如何在 maven 项目中包含 FMPP 库,而是插件。所以我想知道如何包含这个库,这样我就可以扩展fmpp.setting.Settings; 对象。

【问题讨论】:

    标签: java maven dependencies frontend fmpp


    【解决方案1】:

    我在 fmpp-maven-plugin 依赖项中找到了它:),所以只需在 pom.xml 的依赖项块中包含类似这样的内容

        <dependency> 
            <groupId>net.sourceforge.fmpp</groupId>
            <artifactId>fmpp</artifactId>
            <version>0.9.15</version>
        </dependency>
    

    然后使用 Clean and Build 并尝试在任何 java 文件中使用:

    import fmpp.setting.Settings;
    

    就是这样!

    【讨论】:

    • 或者,只需在search.maven.org 上搜索“fmpp”即可立即得到相同的结果。
    猜你喜欢
    • 1970-01-01
    • 2019-06-26
    • 1970-01-01
    • 2017-08-12
    • 2014-07-29
    • 1970-01-01
    • 2023-03-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多