开发者

How do i set Maven to retrieve dependencies first from my own remote repository (Archiva)?

开发者 https://www.devze.com 2023-04-10 13:37 出处:网络
How do i set Maven to retrieve external dependencies first from my own remote repository (using Archiva), and if its not found, Archiva will 开发者_JAVA技巧download from external sources, and at the s

How do i set Maven to retrieve external dependencies first from my own remote repository (using Archiva), and if its not found, Archiva will 开发者_JAVA技巧download from external sources, and at the same time saves the downloaded dependency?


You essentially have to set up your .m2/settings.xml file, nothing fancy. Here is a pretty comprehensive guide. While based on Artifactory, the aspects of POM configuring are obviously general. That should give you all the information you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消