mvn clean:清理编译后的目录mvn compile:编译main目录的代码mvn test-compile:编译test目录中的代码mvn test:运行test目录下的代码mvn install:发布项目到本地仓库tomcat:run:一键构建项目