2013-04-26 71 views
3

我的項目也有等級爲:不能排除從聲納亞軍特定包(聲納3.3.1)

 test-my-project>src>com.adapter 
       >com.adapter.schema 
       >test 

我想在運行聲納排除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 

回答