Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test

前端 未结 14 1985
夕颜
夕颜 2020-11-29 16:35

I have scoured the internet for almost five days now looking for a fix to this issue, but I cannot seem to find and fix it on my own, mainly because I am so new to both Mave

14条回答
  •  北海茫月
    2020-11-29 17:20

    I had a similar problem but all answers here didn't help me.

    For me the problem was a failing test. If you are doing test driven development than a failing / not implemented test shouldn't break the build. I still want my project to build.

    To solve this I added a configuration to surefire so that it ignores a failing test.

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

提交回复
热议问题