Fork me on GitHub

pom.xml中添加远程仓库

maven的pom.xml中添加远程仓库

<repositories>
    <repository>
   <id>mvnrepository</id>
        <name>mvnrepository</name>
        <url>http://www.mvnrepository.com/</url>
        <layout>default</layout>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>

 

posted @ 2018-11-22 17:26  时间行人  阅读(1857)  评论(0编辑  收藏  举报