maven

http://stackoverflow.com/questions/3792842/where-is-maven-settings-xml-located-on-mac-os

 

If you use brew to install maven, then the settings file should be in

/usr/local/Cellar/maven/<version>/libexec/conf

 

pom.xml

 

    <repositories>
        <repository>
            <id>oschina</id>
            <url>http://maven.oschina.net/content/groups/public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>

posted @ 2015-12-01 18:04  lianhuaren  阅读(157)  评论(0编辑  收藏  举报