[ 
https://issues.apache.org/jira/browse/HADOOP-16121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771834#comment-16771834
 ] 

Steve Loughran commented on HADOOP-16121:
-----------------------------------------

build setups are your problem I'm afraid, or take up with the common dev list. 
Please don't assign issues to me. thanks.

> 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
>            Priority: Minor
>
> 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to