我尝试使用 hadoop 2.7.4 构建项目 Apache Knox 1.4.0 我在 Ubuntu 服务器上进行了构建: - Ubtuntu 18.04 - Openjdk 版本“11.0.7” - Apache Maven 3.6.0 - Apache Ant(TM) 版本 1.10 .5
我已经在http://www.apache.org/dyn/closer.cgi/knox/1.4.0/knox-1.4.0-src.zip上下载了 src 存档 我得到了以下问题,我正在寻找一个解法 :
/var/compil/knox/knox-1.4.0# mvn -Panalyze -Prelease clean install -DskipTests
[WARNING]
Dependency convergence error for org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15 paths to dependency are:
+-org.apache.knox:gateway-server:1.4.0
+-org.apache.hadoop:hadoop-auth:2.7.4
+-org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15
[WARNING]
Dependency convergence error for org.apache.directory.api:api-asn1-api:1.0.0-M20 paths to dependency are:
+-org.apache.knox:gateway-server:1.4.0
+-org.apache.hadoop:hadoop-auth:2.7.4
+-org.apache.directory.server:apacheds-kerberos-codec:2.0.0-M15
+-org.apache.directory.api:api-asn1-api:1.0.0-M20
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:30 min
[INFO] Finished at: 2020-05-14T11:20:57+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "analyze" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-dependencies) on project gateway-server: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]