eclipse 如何不带test case 的编译工程

Ensure Maven is configured for your project

  • Right-click on your project
  • Go to 'Run As'
  • Select 'Run Configurations'
  • In the left-hand column, right-click 'Maven Build' and select 'New'
  • Select the base directory (the project) you want to build from
  • Write 'install' and any other goals you want in the 'Goals' field
  • Click the 'Skip Tests' radio button
  • Click Run!

来源网址 : https://stackoverflow.com/questions/8923002/how-to-configure-maven-install-to-skip-tests-in-eclipse

原文地址:https://www.cnblogs.com/lthxk-yl/p/8521086.html