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

猜你喜欢

转载自jicu7766240.iteye.com/blog/2216424