Error in resolving buildtime dependencies while installing CloudStack on ubuntu.

后端 未结 4 1953
情话喂你
情话喂你 2020-12-10 12:54

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 <

4条回答
  •  天涯浪人
    2020-12-10 13:49

    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.

提交回复
热议问题