Maven build and maven-failsafe-plugin - The forked VM terminated without properly saying goodbye

前端 未结 6 2113
刺人心
刺人心 2020-12-18 22:19

I use Docker and https://github.com/fabric8io/docker-maven-plugin for my integration tests.

On my Windows 10 (after updating to Windows 10 1709) mac

6条回答
  •  轮回少年
    2020-12-18 22:31

    I have the same problem and found three solutions which working for me:

    Problem description

    Problem is with maven plugin maven-surefire-plugin only in version 2.20.1 and 2.21.0. I checked and you use version 2.20.1.

    Solution 1

    Upgrade plugin version to 2.22.0. Add in pom.xml:

    
      org.apache.maven.plugins
      maven-surefire-plugin
      2.22.0
    
    

    Solution 2

    Downgrade plugin version to 2.20. Add in pom.xml:

    
      org.apache.maven.plugins
      maven-surefire-plugin
      2.20
    
    

    Solution 3

    Use plugin configuration testFailureIgnore. Add in pom.xml:

    
      org.apache.maven.plugins
      maven-surefire-plugin
      
        true
      
    
    

提交回复
热议问题