lqjacklee created HADOOP-16121:
----------------------------------
Summary: Cannot build in dev docker environment
Key: HADOOP-16121
URL: https://issues.apache.org/jira/browse/HADOOP-16121
Project: Hadoop Common
Issue Type: Bug
Components: build
Affects Versions: 3.3.0
Environment: Darwin lqjacklee-MacBook-Pro.local 18.2.0 Darwin Kernel
Version 18.2.0: Mon Nov 12 20:24:46 PST 2018;
root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
Reporter: lqjacklee
Assignee: Steve Loughran
Operation as below :
1, run the docker daemon
2, run ./start-build-env.sh
3, mvn clean package -DskipTests
Response from the command line :
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.17 or one of
its dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-surefire-plugin:jar:2.17: Could not transfer
artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.17 from/to
central (https://repo.maven.apache.org/maven2):
/home/liu/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.17/maven-surefire-plugin-2.17.pom.part.lock
(No such file or directory) -> [Help 1]
solution :
a, sudo chmod -R 775 ${USER_HOME}/.m2/
b, sudo chown -R ${USER_NAME} ${USER_HOME}/.m2
After try the way , it still in trouble.
c, sudo mvn clean package -DskipTests. but in this way, will download the file
(pom, jar ) duplicated ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]