mvn package fails with Required Artifact Missing even though it exists in my Remote Repository

后端 未结 3 1471
借酒劲吻你
借酒劲吻你 2021-01-19 02:50

I\'m trying to run mvn clean package on my Maven project and it fails with the message:

\"required artifact is missing\" for the artifact net.ezswit

3条回答
  •  深忆病人
    2021-01-19 03:14

    Just had this problem. Went through so many solutions on my Mac. In the end changed my

    ~/.m2/settings.xml

    changed this:

     ${USER.HOME}/.m2/repository
    

    to this:

     ${env.HOME}/.m2/repository
    

    you can see all the properties you have to play with on a mac by typing in a terminal

     export
    

提交回复
热议问题