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>

原文地址:https://www.cnblogs.com/javastart/p/5010878.html