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
I faced the same problem, even if I was working on my home wifi connection, without any proxy requirements.
My project was created at c:\users\<>\Workspace\Project\
When I went to above location and ran
mvn clean install
I got below error:
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its de
endencies could not be resolved: Failed to read artifact descriptor for org.apa
he.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.ap
che.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.mave
.apache.org/maven2)
It took me entire day to try ways and means to crack this, but the solution in my case, was damn simple.
I moved my project to non-user specific location, at E:\Workspace\Project\
This has done wonders for me!