[英]Error when building branch 2.3: Could not resolve dependencies for project org.apache.ranger:ranger-solr-plugin:jar
I'm trying to build the branch ranger-2.3
with the maven command mvn clean compile package install -DskipJSTests
.我正在尝试使用 maven 命令
mvn clean compile package install -DskipJSTests
构建分支ranger-2.3
。 The command failed when building SOLR Security Plugin
with the following error message:该命令在构建
SOLR Security Plugin
时失败,并显示以下错误消息:
[ERROR] Failed to execute goal on project ranger-solr-plugin: Could not resolve dependencies for project org.apache.ranger:ranger-solr-plugin:jar:2.3.0: Failed to collect dependencies at org.apache.solr:solr-core:jar:7.7.1 -> org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet (http://maven.restlet.org, default, releases+snapshots), apache.snapshots (http://repository.apache.org/snapshots, default, disabled)] -> [Help 1]
I'm using maven 3.8
with openjdk8
.我正在使用
maven 3.8
和openjdk8
。 I'm also having the same problem with Release 2.2.0
.我对
Release 2.2.0
也有同样的问题。
Could someone help me take a look at what I missed?有人可以帮我看看我错过了什么吗? Also, is there a place where I can download the prepackaged jars, instead of me building from the source code?
另外,有没有地方可以下载预打包的 jar,而不是从源代码构建? Thanks.
谢谢。
Looks like solr
is not able to pull org.restlet.jee:org.restlet:pom:2.3.0
.看起来
solr
无法拉动org.restlet.jee:org.restlet:pom:2.3.0
。 Adding below repository fixed the issue for me;添加下面的存储库为我解决了这个问题;
<repository>
<id>maven-restlet</id>
<name>Public online Restlet repository</name>
<url>https://maven.restlet.talend.com/</url>
</repository>
You can find more details here Restlet Maven Dependencies .你可以在这里找到更多细节Restlet Maven Dependencies 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.