一、配置pom.xml文件如下: 二设置环境 1.设置 工程maven 的parames 2. 在before launch之前 选择 run another configuration 选择自己上面自己配置的环境