Sonarqube 不能从sonar runner(sonar 3.3.1)中排除特定包装

Sonarqube 不能从sonar runner(sonar 3.3.1)中排除特定包装,sonarqube,sonar-runner,Sonarqube,Sonar Runner,我的项目具有以下层次结构: test-my-project>src>com.adapter >com.adapter.schema >test 我想在运行sonar时排除com.adapter.schema包 我的sonar.properties是: 声纳特性 /#required metadata sonar.projectKey=test:prj sonar.projectName=test

我的项目具有以下层次结构:

        test-my-project>src>com.adapter
               >com.adapter.schema
               >test
我想在运行sonar时排除com.adapter.schema包

我的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

您必须使用文档中描述的“sonar.exclusions”属性:

Hi此链接已断开