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
mvn clean install
I faced the same problem but it resolved with some changes in setting.xml(.*\apache-maven-3.3.3\apache-maven-3.3.3\conf).
setting.xml(.*\apache-maven-3.3.3\apache-maven-3.3.3\conf)
proxy true http HOSTNAME PORT
Just check the hostname and port from the IE setting -> connections -> LAN Setting -> Proxy server
Hope this will resolve your problem also :)