当前位置: 代码迷 >> Ruby/Rails >> ERROR: Maven JVM terminated unexpectedly with exit code 零
  详细解决方案

ERROR: Maven JVM terminated unexpectedly with exit code 零

热度:309   发布时间:2016-04-29 02:12:22.0
ERROR: Maven JVM terminated unexpectedly with exit code 0

hudson 添加了jetty自动化web测试之后。报错:

ERROR: Maven JVM terminated unexpectedly with exit code 0。

?

先是调整了MAVEN的opts。没效果。

?

解决办法:

添加依赖:

<plugin>    <groupId>org.apache.maven.plugins</groupId>    <artifactId>maven-failsafe-plugin</artifactId>    <version>2.17</version>    <executions>       <execution>         <id>integration-test</id>             <goals>                  <goal>integration-test</goal>             </goals>        </execution>        <execution>            <id>verify</id>            <goals><goal>verify</goal></goals>         </execution>   </executions></plugin>传送门:http://stackoverflow.com/questions/25868613/maven-failsafe-verify-always-returns-exit-code-0
  相关解决方案