Sonar analysing Maven 3 and multi language project using JENKINS

前端 未结 2 780
失恋的感觉
失恋的感觉 2021-01-16 16:03

Here is a problem/issue found while using Sonar in a Maven 3 Java JS project using JENKINS

2条回答
  •  甜味超标
    2021-01-16 16:35

    I hope I can help you by pointing out to you the first paragraph of this documentation:

    It sais "...Therefore, for a multi-language project, the property usually has to be overridden to: sonar.sources=src. Note that this property can only be set in the pom file. It's not possible to set it via the command line."

    http://docs.codehaus.org/display/SONAR/Analyzing+with+Maven#AnalyzingwithMaven-AnalyzingaMulti-languageProject

    Good Luck!

提交回复
热议问题