笔者本地使用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>