问题描述
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
解决方法
从属性定义中删除引号:
mvn clean install -Dtest=com.qa.dontknow.test -Denv=qa
[...] 所以你可以输入 -Dtest=MyTest 来运行一个名为“foo/MyTest.java”的测试。 [...]
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
从属性定义中删除引号:
mvn clean install -Dtest=com.qa.dontknow.test -Denv=qa
[...] 所以你可以输入 -Dtest=MyTest 来运行一个名为“foo/MyTest.java”的测试。 [...]