我已经从SimpleGraph制作了一个JAR,我想在一个separat项目中使用它。在我自己的项目中,我可以看到和使用SimpleGraph的直接类,例如ExcelSystem等,但不能使用基础类(例如Tinkerpop / Gremlin中的Vertex等)。有没有办法将它们包含在JAR代中?
根据您的问题更新了http://www.bitplan.com/index.php/SimpleGraph-Installation处的安装说明。
要在您的项目中将simplegraph作为单个jar依赖项包含,您可能要运行:
cd com.bitplan.simplegraph/simplegraph-bundle
mvn install -D skipTests -D gpg.skip -P createAssembly
将创建一个jar-with-dependencies.jar