我从未使用过 Maven,只是在尝试为我的非 Maven 项目使用外部 API 时遇到了它。外部 API 的文档说:
The JAR is not currently available on any central Maven repositories, but you can easily
clone this repository and install it to your local Maven just by typing:
mvn compile install
由于我的项目不是 Maven 项目,OI 想知道我如何仍然使用这个没有 JAR 文件的外部 API,否则我可以将其导入到我的项目中?
我知道我可以将我的项目转换为 Maven 项目,但这是唯一/最好的选择吗?谢谢!