下载所有的依赖性
我有一个Maven项目,其中POM文件中列出了许多Maven依赖项。由于安全原因,我需要在缺少任何Internet连接的情况下构建应用程序的计算机。
有没有办法将使用Maven的所有依赖项下载到具有Internet的计算机上的本地目录。然后将它们复制到离线计算机,然后通过使用所有依赖项在哪里使用此本地目录来修改POM文件以构建。这听起来有可能吗?有更好或更聪明的方法吗?谢谢您的建议。
I have a Maven project with lots of Maven dependencies listed in the POM file. The computer which I need to build the application on missing any Internet connection because of security reasons.
Is there a way to download all dependencies with Maven to a local directory on a computer with Internet. Then copy these to the offline-computer, and modify the POM file to build by using this local directory where all the dependencies are. Does this sound possible to you? Is there a better or smarter way? Thank you for any advice.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论