Migrate the Maven repository to another machine

断了今生、忘了曾经 提交于 2020-01-25 23:12:14

问题


Is it possible to migrate the Maven repository to another machine without having to reconfigure each item added to it?

Thanks


回答1:


You can just copy the .m2/repository folder to another machine. FYI, you can execute mvn install and it will download all dependencies once again, but it will take while.



来源:https://stackoverflow.com/questions/15719212/migrate-the-maven-repository-to-another-machine

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!