我的项目的层次结构为:
test-my-project>src>com.adapter
>com.adapter.schema
>test
我想在运行声纳时排除 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