查看版本
mvn -v
编译源代码
mvn compile
打包
mvn package
本地仓库安装jar包
mvn install
清除项目
mvn clean
打jar包
mvn jar:jar
查看当前项目被解析的依赖
mvn dependency:list
上传到私服
mvn deploy
源码打包
mvn source:jar
显示错误信息
mvn -e
验证工程是否正确
mvn validate
mvn -v
mvn compile
mvn package
mvn install
mvn clean
mvn jar:jar
mvn dependency:list
mvn deploy
mvn source:jar
mvn -e
mvn validate