maven can't find my local artifacts

前端 未结 4 1091
难免孤独
难免孤独 2020-11-30 22:17

I can\'t seem to run mvn -o package because it complains with

The repository system is off line but the artifact com.liferay.portal:ut

4条回答
  •  [愿得一人]
    2020-11-30 22:24

    I also had to remove _remote.repositories in the same way as the _maven.repositories described above. I'm using Maven 3.1.1

    find ~/.m2/repository -name _remote.repositories -exec rm -v {} \;
    

提交回复
热议问题