无法安装wikidata-query-rdf/Blazegraph [英] Failed to install wikidata-query-rdf / Blazegraph

查看:83
本文介绍了无法安装wikidata-query-rdf/Blazegraph的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装wikidata-query-rdf( https://github.com/wikimedia/wikidata-query-rdf ),并且Blazegraph失败:

I am trying to install wikidata-query-rdf (https://github.com/wikimedia/wikidata-query-rdf) and there is a failure with Blazegraph :

git clone https://gerrit.wikimedia.org/r/wikidata/query/rdf wikidata-query-rdf
cd wikidata-query-rdf
sudo mvn install

我首先得到这种警告: [警告] com.blazegraph:bigdata-cache:jar:2.1.5-SNAPSHOT的POM丢失,没有可用的依赖项信息

I first get this kind of warning : [WARNING] The POM for com.blazegraph:bigdata-cache:jar:2.1.5-SNAPSHOT is missing, no dependency information available

然后:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................. SUCCESS [  6.246 s]
[INFO] Shared code ........................................ SUCCESS [ 19.727 s]
[INFO] Wikidata Query RDF Testing Tools ................... SUCCESS [  9.955 s]
[INFO] Blazegraph extension to improve performance for Wikibase FAILURE [ 16.945 s]
[INFO] Blazegraph Service Package ......................... SKIPPED
[INFO] Wikidata Query RDF Tools ........................... SKIPPED
[INFO] Wikibase RDF Query Service ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.513 s
[INFO] Finished at: 2017-12-19T10:58:12+00:00
[INFO] Final Memory: 58M/420M
[INFO] ------------------------------------------------------------------------


[ERROR] Failed to execute goal on project blazegraph: Could not resolve dependencies for project org.wikidata.query.rdf:blazegraph:jar:0.3.0-SNAPSHOT: The following artifacts could not be resolved: com.blazegraph:bigdata-cache:jar:2.1.5-SNAPSHOT, com.blazegraph:bigdata-client:jar:2.1.5-SNAPSHOT, com.blazegraph:bigdata-common-util:jar:2.1.5-SNAPSHOT, com.blazegraph:bigdata-core:jar:2.1.5-SNAPSHOT, com.blazegraph:bigdata-util:jar:2.1.5-SNAPSHOT, com.blazegraph:ctc-striterators:jar:2.1.5-SNAPSHOT: Could not find artifact com.blazegraph:bigdata-cache:jar:2.1.5-SNAPSHOT in wmf.mirrored (http://archiva.wikimedia.org/repository/mirrored)

推荐答案

Maven无法找到某些依赖项.您可以看到它正在一个只有版本但没有SNAPSHOTS可用的存储库中查找.

Some dependencies can't be found by Maven. You can see that it is looking in a repository where only releases but no SNAPSHOTS are available.

您应将SNAPSHOT存储库添加到父pom.xml文件中:

You should add the SNAPSHOT repository to the parent pom.xml file:

<repositories>
       ....
  <repository>
            <id>wmf.snapshots</id>
            <url>https://archiva.wikimedia.org/repository/snapshots</url>
  </repository>
</repositories>

或者,将Blazegraph依赖项版本属性更改为最新发行版:

Or alternatively, change the Blazegraph dependency version property to latest release version:

<properties>
        <blazegraph.version>2.1.4</blazegraph.version>
        ...
</properties>

这篇关于无法安装wikidata-query-rdf/Blazegraph的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆