无法从Sonar Runner(Sonar 3.3.1)中排除特定包

6
我的项目层次结构如下:
        test-my-project>src>com.adapter
               >com.adapter.schema
               >test

我希望在运行Sonar时排除com.adapter.schema包。
我的sonar.properties文件如下:
sonar.properties
/#required metadata
sonar.projectKey=test:prj
sonar.projectName=test-my-project
sonar.projectVersion=1.0
/# path to source directories (required)
sonar.sources=src
/# path to project binaries (optional), for example directory of Java bytecode
/# when you build the project, where the .class files are gone
sonar.binaries=build/classes
/# The value of the property must be the key of the language.
sonar.language=java
1个回答

14

1
嗨,这个链接失效了。 - JoseK
以下是更新后的链接:https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/将焦点缩小 - rahimli

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接