I am installing cloudstack on ubuntu and it uses maven to resolve its dependencies. I am getting the following errors when am running the command mvn -P deps
<
I don't know why, but since this worked for me, I'm sharing it hoping to save someone's time:
I'm on a Windows7 previously used by other people, and I've discovered that the
%MAVEN_HOME% \ conf \ settings.xml
contained the following line:
C:/m2/repository
probably to share a repository across different users.
This was causing the problem, because when I've changed that line to:
C:/Users/my_user_name/.m2/repository
, it started working perfectly! From command line, from Eclipse with external Maven, and from Eclipse with the Embedded one.
Before this, no artifact resolution was working.
Probably it was something related to writing permissions under the root folder...
Hope that helps.