Вопрос

I have a multi-module maven project and have it's modules as Sonar components.

Is it possible to set alerts separate per module/component, or Sonar considers the whole project? If not, what's the best way of having my maven modules as separate projects in Sonar, so that mvn sonar:sonar is only executed once. I use cobertura for report generation.

Это было полезно?

Решение

At the moment of writing this answer, that feature is not supported by Sonar. If separate metrics needed you need to create a separate project and trigger a separate build from Jenkins and providing specific pom.xml file for desired module.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top