I have install maven in my machine. I have properly set the class-path and maven home folder. Every time I execute mvn clean install, it gives me exception. I h
refering to Deepak Vishwakarma's answer, I tried with that and was facing same problem with the url-problem. I installed maven-3.6.3 and inside .m2 folder I found a
settings.xml.bak
file and from that copied that mirror link and just changed url what @Deepak did. It worked like charm! Mirror link I got from that .bak file
http://local.maven.repo:9081/nexus/content/groups/public
Then executed :
mvn clean
mvn clean install