【发布时间】:2020-06-01 12:02:09
【问题描述】:
我从 SimpleGraph 制作了一个 JAR,我想在单独的项目中使用它。 在我自己的项目中,我可以看到和使用 SimpleGraph 的直接类,如 ExcelSystem 等,但不能使用来自 Tinkerpop/Gremlin 的基础类如 Vertex 等。 有没有办法将这些包含到 JAR 生成中?
【问题讨论】:
标签: java jar gremlin tinkerpop simplegraph
我从 SimpleGraph 制作了一个 JAR,我想在单独的项目中使用它。 在我自己的项目中,我可以看到和使用 SimpleGraph 的直接类,如 ExcelSystem 等,但不能使用来自 Tinkerpop/Gremlin 的基础类如 Vertex 等。 有没有办法将这些包含到 JAR 生成中?
【问题讨论】:
标签: java jar gremlin tinkerpop simplegraph
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
【讨论】: