How to configure JaCoCo maven plugin from command line

前端 未结 3 449
执笔经年
执笔经年 2021-01-12 04:58

I\'m trying to configure JaCoCo maven plugin from command line insted of using pom.xml. I have managed to execute prepare-agent so far with command

3条回答
  •  悲哀的现实
    2021-01-12 05:09

    we use the below code:

    mvn clean devtestcov:atest -Dactive.devtest -Dmaven.test.failure.ignore=true -Djacoco-agent.destfile=target/jacoco.exec
    

提交回复
热议问题