mailbyms edited a comment on issue #583:
URL: https://github.com/apache/maven-mvnd/issues/583#issuecomment-1019654909


   Same problem.
   I add a repo mirror in ${MVND_HOME}/mvn/conf/settings.xml, 
   when running `mvnd clean package`, it always download jars from central repo.
   
   
   Then I add the ${MVND_HOME}/mvn/bin to the system PATH, and run `mvn clean 
package`, mvn runs well.
   
   
   Well, I run `mvnd -s ${MVND_HOME}/mvn/conf/settings.xml clean package` , 
mvnd works as expected!
   
   OK, finally, other threads have mentioned that we should put settings.xml in 
~/.m2/ , problem solved indeed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to