maven工程編譯時忽略執行單元測試

  項目中的單元測試很多的時候,編譯打包時執行Test會很耗時,pom.xml中可加入以下plugin配置: <!-- 編譯打包時忽略執行junit單元測試 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration
相關文章
相關標籤/搜索