I am using Maven 3.1.1. When I run mvn install I get the following error:
D:\\spring source>mvn install
[INFO] Scanning for projects...
[INFO
It's in your C:/Users/
Also, this is for specific user. Global one can be present at :
But changing the User one might solve the issue if you can't find the global one.
Also, equally important, go to Preferences in Eclipse/STS:
Check Windows Proxy Setting. If there is any proxy which your computer is using then you need to add proxy settings in your settings.xml file too.
Just add this chunk of code in your settings.xml
proxy-id
true
http
ca-something.net
80
localhost|10.140.240.90.*
Visit http://repo.maven.apache.org/: If it says Https required.
Then, you need to add this chunk of code to your settings.xml inside
central-secure
https://repo.maven.apache.org/maven2
central
Now it should be good to go.
Try disconnecting any company private VPN and try mvn clean build.