码迷,mamicode.com
首页 > Web开发 > 详细

maven 跳过测试 打包 及上传命令

时间:2016-10-10 01:25:13      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

[main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project springside-core: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: There was an error in the forked process

 

因jdk版本问题也可导致 jar兼容问题 出现测试通不过。 问题较多的是1.8.xx版本

 

mvn clean install -DskipTests

mvn clean deploy -DskipTests

 

 

http://stackoverflow.com/questions/13170860/failed-to-execute-goal-org-apache-maven-pluginsmaven-surefire-plugin2-10test

maven 跳过测试 打包 及上传命令

标签:

原文地址:http://www.cnblogs.com/adolfmc/p/5944246.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!