打开开始菜单,执行cmd命令,打开cmd窗口。
执行命令:mvn clean package -Dmaven.test.skip=true
clean:删除之前编译的代码。
package:打包。
Dmaven.test.skip=true:不编译单元测试的代码。