0
在pom.xml或settings.xml中有configure repository有两种不同的方式。在pom.xml中配置存储库vs settings.xml的最佳实践
无论是在pom.xml还是settings.xml中配置存储库,最佳实践是什么?
在pom.xml或settings.xml中有configure repository有两种不同的方式。在pom.xml中配置存储库vs settings.xml的最佳实践
无论是在pom.xml还是settings.xml中配置存储库,最佳实践是什么?
最佳实践是仅在settings.xml文件中配置存储库,此外,它使配置更容易使用存储库管理器。
感谢您的回复。但是如果我发布4-5个需要不同存储库的jar模块呢?现在,作为客户,您使用这些4-5罐作为依赖。您需要在settings.xml中配置所有存储库。你不是吗?难道你不会为此付出额外的努力吗?这个存储库可以从客户端抽象出来。 – 2015-03-30 06:08:37