无法使用 Maven 编译 Impala 的前端

Unable to compile Impala's front end with maven

我正在尝试用 Maven 编译 Impala 的前端 (fe) 部分。但是我收到了这个错误。

[ERROR] Failed to execute goal on project impala-frontend: Could not resolve dependencies for project com.cloudera.impala:impala-frontend:jar:0.1-SNAPSHOT: Could not find artifact com.cloudera.impala:impala-data-source-api:jar:1.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/content/repositories/snapshots/) -> [Help 1]

我使用了命令:

mvn clean package dependency:copy-dependencies -DskipTests=true

此代码的 pom.xml github 此处:https://github.com/cloudera/Impala/blob/cdh5-trunk/fe/pom.xml

我该如何修复它?

我按照 cloudera Impala wiki 的说明进行操作:https://github.com/cloudera/Impala/wiki/How-to-build-Impala

想通了这一点。为了第一次编译 Impala 的前端,您需要第一次构建整个源代码,然后可以使用 maven 构建对前端的后续更改。