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

458 views Asked by At

I am a newbie of Livy and I build Livy as the official said. The command is as follows:

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

cd incubator-livy

mvn package

Then I get error as follows:

[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 ->`

I clean the ~/.m2/ and I use mvn -U clean package, it failed too. Could anyone help me? Thank you

1

There are 1 answers

0
GOGO On BEST ANSWER

Install python package as follows:

cloudpickle requests requests-kerberos flake8 flaky pytest

It will work