美文网首页
maven 配置笔记

maven 配置笔记

作者: shenmou | 来源:发表于2020-03-29 16:14 被阅读0次

    打包时跳过测试

    > mvn package -DskipTests
    

    IDEA mac上的位置为 "/Applications/IntelliJ\ IDEA\ CE.app/Contents/plugins/maven/lib/maven3/conf/settings.xml"

    添加如下内容 (好像有问题, 待验证)

        <repositories>
            <repository>
                <id>aliyun-repos</id>
                <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
        </repositories>
    
        <pluginRepositories>
            <pluginRepository>
                <id>aliyun-plugin</id>
                <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </pluginRepository>
        </pluginRepositories>
    

    相关文章

      网友评论

          本文标题:maven 配置笔记

          本文链接:https://www.haomeiwen.com/subject/zrruuhtx.html