如何使用具有来自tinkerpop / gremlin的基础信息的简单图形制作JAR

问题描述 投票:1回答:1

我已经从SimpleGraph制作了一个JAR,我想在一个separat项目中使用它。在我自己的项目中,我可以看到和使用SimpleGraph的直接类,例如ExcelSystem等,但不能使用基础类(例如Tinkerpop / Gremlin中的Vertex等)。有没有办法将它们包含在JAR代中?

java jar gremlin tinkerpop simplegraph
1个回答
1
投票

根据您的问题更新了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

© www.soinside.com 2019 - 2024. All rights reserved.