Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想写一个 FMPP 前端应用程序,但官方文档没有解释如何在 maven 项目中包含 FMPP 库,而是插件。所以我想知道如何包含库,以便我可以扩展fmpp.setting.Settings;对象。
fmpp.setting.Settings;
我在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;
而已!