How do i set Maven to retrieve dependencies first from my own remote repository (Archiva)?
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.
精彩评论