Giriş
Açıklaması şöyle
In Maven we have 3 types of repositories1. Central Repository2. Remote Repository3. Local RepositoryCentral repository is maintained by Apache organizationEvery company will maintain their own remote repository (Ex: Nexus, JFrog)Local repository will be created in our system (Location : C://users/<uname>/.m2)
Örnek
Şöyle yaparız
<repositories><repository> <id>id</id> <url>jfrong-repo-url/</url> </repository> </repositories>
Şöyle yaparız
<project ...><parent>...</parent><properties>...</properties><dependencies>...</dependencies><build><plugins>...</plugins></build><repositories><repository><id>spring-libs-milestone</id><url>https://repo.spring.io/libs-milestone</url></repository></repositories><pluginRepositories>...</pluginRepositories></project>
Hiç yorum yok:
Yorum Gönder