首页 > 学院 > 开发设计 > 正文

使用mvn pom文件配置是否跳过单元测试

2019-11-06 09:24:27
字体:
来源:转载
供稿:网友
工程pom文件添加如下
    <PRofiles>        <profile>            <id>ignoreTest</id>            <properties>                <maven.test.skip>true</maven.test.skip>            </properties>        </profile>    </profiles>使用mvn -PignoreTest即可跳过单元测试
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表