可以通过其命令做所有相关的工作,其常用命令如下:- mvn compile- mvn test- mvn clean- mvn package- mvn install //把新创建的jar包安装到仓库中- mvn archetype:generate //创建新项目!