在eclipse中maven项目编译时怎样不跳过测试项目?test resources也不给拷贝...

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ qpay-ccb-credit ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ qpay-ccb-credit ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ qpay-ccb-credit ---
[INFO] Tests are skipped.

  1)命令行插件配置
  用户可以在Maven命令中使用-D参数,并伴随一个参数键=参数值的形式,来配置插件的参数。
  如:mvn install -Dmaven.test.skip = true
  2)Eclipse中执行 install -Dmaven.test.skip = true,
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答