maven 强制使用本地仓库
pom 文件添加如下内容:
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
<repositories> <repository> <id>alimaven</id> <name>aliyun maven</name> <url>file:D:/Java/maven-repository/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>
pom 文件添加如下内容:
<repositories> <repository> <id>alimaven</id> <name>aliyun maven</name> <url>file:D:/Java/maven-repository/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories>