筆者本地使用aliyun的maven倉庫,在github上找了一個jar,他需求使用第三方倉庫。git
好比要使用https://jitpack.io上面com.github.navinilavarasan的rxWebSocketgithub
在pom.xml中添加如下內容spring
<dependencies> <dependency> <groupId>com.github.navinilavarasan</groupId> <artifactId>rxWebSocket</artifactId> <version>1.04</version> </dependency> </dependencies> <repositories> <repository> <id>jitpack</id> <url>https://jitpack.io</url> </repository> </repositories>
經常使用倉庫地址:app
轉載自:https://blog.csdn.net/Hello_World_QWP/article/details/82463799maven
詳情參考以上網址url
<!--阿里源--> <repository> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </repository> <!--camunda.com 中央倉庫(首推2)--> <repository> <id>activiti-repos2</id> <name>Activiti Repository 2</name> <url>https://app.camunda.com/nexus/content/groups/public</url> </repository> <!--spring.io--> <repository> <id>springsource-repos</id> <name>SpringSource Repository</name> <url>http://repo.spring.io/release/</url> </repository>