How to configure Maven to run a SonarQube project analysis with two different quality profiles?

后端 未结 4 1324
被撕碎了的回忆
被撕碎了的回忆 2020-12-08 03:19

We run SonarQube analyses for our Java projects via Maven. Maven somehow does this automagically; all we did was add the sonar-maven-plugin to our pom.xml

4条回答
  •  Happy的楠姐
    2020-12-08 04:00

    A combination of maven and Ant might work: Use Maven for the first sonar analysis as you already do and use the Maven Antrun Plugin to execute another SonarQube configuration defined using the SonarQube Ant Task.

提交回复
热议问题