1、配置pom文件
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
2、进行运行配置 mavenbulid
3、设置为clean package
4、执行maven install
5、在工程target目录下找到对应的jar包,并运行