更新时间:2023-09-29 23:07:52
有两个记录的选项,将模块从SonarQube分析中排除;引用:
There are two documented options to exclude a module from a SonarQube analysis; quoting:
您可以:
由于您使用的是Jenkins,也许更简单的解决方案是使用-pl
选项.这样,您将不会更改Maven项目中的任何配置,而只会更改Jenkins的配置.
Since you are using Jenkins, maybe the simpler solution is to use the -pl
option. This way, you won't change any configuration in your Maven project and you will only change Jenkins configuration.