首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >JanusGraph构建失败(TinkerPop 3.2.4)

JanusGraph构建失败(TinkerPop 3.2.4)
EN

Stack Overflow用户
提问于 2017-09-27 14:55:25
回答 1查看 377关注 0票数 2

我克隆了JanusGraph回购(d6b3d42)并构建它,没有任何问题。我需要在ThinkerPop 3.2.4中使用它,所以我在pom.xml文件中更改了它的版本。然后我运行mvn clean install -DskipTests=true

代码语言:javascript
复制
[WARNING] The POM for com.github.jeremyh:jBCrypt:jar:jbcrypt-0.4 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JanusGraph: Distributed Graph Database ............. SUCCESS [  0.563 s]
[INFO] JanusGraph-Core: Core Library for JanusGraph ....... FAILURE [  0.275 s]
[INFO] JanusGraph-Test: Test Suite for JanusGraph ......... SKIPPED
[INFO] JanusGraph CodePipelines CI: Distributed release testing. SKIPPED
[INFO] JanusGraph-BerkeleyJE: Distributed Graph Database .. SKIPPED
[INFO] JanusGraph-Cassandra: Distributed Graph Database ... SKIPPED
[INFO] JanusGraph-CQL: Distributed Graph Database ......... SKIPPED
[INFO] JanusGraph-ElasticSearch: Distributed Indexing Support SKIPPED
[INFO] JanusGraph-HBase: Parent Module .................... SKIPPED
[INFO] JanusGraph-HBase: Version-independent Core ......... SKIPPED
[INFO] JanusGraph-HBase: 0.98 Compatibility Shim .......... SKIPPED
[INFO] JanusGraph-HBase: 1.x Compatibility Shim ........... SKIPPED
[INFO] JanusGraph-HBase: Universal binary ................. SKIPPED
[INFO] JanusGraph-Hadoop: Parent Module ................... SKIPPED
[INFO] JanusGraph-Hadoop: Version-independent Core ........ SKIPPED
[INFO] JanusGraph-Hadoop: 2.x Compatibility Shim .......... SKIPPED
[INFO] JanusGraph-Hadoop: Universal binary ................ SKIPPED
[INFO] JanusGraph-Lucene: Indexing Support ................ SKIPPED
[INFO] JanusGraph-All: Complete JanusGraph Distribution ... SKIPPED
[INFO] JanusGraph-Solr: Distributed Indexing Support ...... SKIPPED
[INFO] JanusGraph-Dist: Tar and Zip Archives .............. SKIPPED
[INFO] JanusGraph-Dist: Archive with Hadoop 2 ............. SKIPPED
[INFO] JanusGraph-Doc: AsciiDoc Manual for JanusGraph ..... SKIPPED
[INFO] JanusGraph-Examples: Examples for JanusGraph ....... SKIPPED
[INFO] Example-Common: Common Graph Code for Examples ..... SKIPPED
[INFO] Example-BerkeleyJE: BerkeleyJE Storage, Lucene Index SKIPPED
[INFO] Example-Cassandra: C* Thrift Storage, ES Index ..... SKIPPED
[INFO] Example-Cql: C* CQL Storage, ES Index .............. SKIPPED
[INFO] Example-HBase: HBase Storage, Solr Index ........... SKIPPED
[INFO] Example-RemoteGraph: Example with RemoteGraph ...... SKIPPED
[INFO] Example-TinkerGraph: Example with TinkerGraph ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.557 s
[INFO] Finished at: 2017-09-27T16:44:59+02:00
[INFO] Final Memory: 24M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project janusgraph-core: Could not resolve dependencies for project org.janusgraph:janusgraph-core:jar:0.2.0-SNAPSHOT: Failure to find com.github.jeremyh:jBCrypt:jar:jbcrypt-0.4 in http://download.oracle.com/maven was cached in the local repository, resolution will not be reattempted until the update interval of oracleReleases has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :janusgraph-core

如何使用JanusGraph 3.2.4版本构建TinkerPop?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-09-27 15:20:53

更新根pom.xml以添加Jitpack存储库:

代码语言:javascript
复制
     <repository>
        <!-- for com.github.jeremyh:jBCrypt:jar -->
        <id>jitpack.io</id>
        <name>JitPack Package Repository</name>
        <url>https://jitpack.io</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>

这个存储库被删除了pom.xml,因为新版本的Apache TinkerPop没有这种依赖性。

来自简图-用户 Google组的参考:

这种依赖在Maven central中没有发现,jbcrypt-0.4在jitpack.io存储库中找到。您需要为它添加一个远程存储库。您可以使用dependency:get命令:

代码语言:javascript
复制
mvn dependency:get -DremoteRepositories="https://jitpack.io" -Dartifact="com.github.jeremyh:jBCrypt:jbcrypt-0.4"

在运行上面的命令时,您将将所需的jBCrypt依赖项下载到本地Maven存储库中,以便继续构建JanusGraph。如果您对构建分发拉链感兴趣,类似于您在JanusGraph 下载页面上可以找到的,请使用以下命令:

代码语言:javascript
复制
mvn clean install -DskipTests=true -Dgpg.skip=true -Pjanusgraph-release

然后您可以在janusgraph-dist/janusgraph-dist-hadoop-2/target/janusgraph-0.2.0-SNAPSHOT-hadoop2.zip下找到发行版zip。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46451087

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档