使用 "mvn clean package" 构建 Livy 时未能在存储库中找到 jar

Failure to find jar in repository when I build Livy using "mvn clean package"

我是Livy新手,按照官方说的搭建Livy。命令如下:

git clone https://github.com/apache/incubator-livy.git

cd incubator-livy

mvn package

然后报错如下:

[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-enforcer-plugin:jar:1.4.1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->`

我清理了 ~/.m2/ 并使用了 mvn -U clean package,它也失败了。谁能帮帮我?谢谢

安装 python 包如下:

cloudpickle requests requests-kerberos flake8 flaky pytest

它会起作用