Skip to content

Commit

Permalink
update doc about skip mybatis sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
donhui committed Aug 20, 2019
1 parent f23a222 commit bbc6f8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ For special issues of statements, if you want ignore them, you can put the state

![stmt-id-exclude](images/stmt-id-exclude.png)

## Skip MyBatis Sensor
If you want to skip mybatis sensor sometimes, you can change the global properties `sonar.mybatis.skip` to `true` or add the parameter in the command:
`-Dsonar.mybatis.skip=true` .

## Contribute
Please report bugs and feature requests at https://github.com/donhui/sonar-mybatis/issues.

Expand Down
4 changes: 4 additions & 0 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ mvn clean compile -U -Dmaven.test.skip=true -Dmaven.javadoc.skip=true sonar:sona

![stmt-id-exclude](images/stmt-id-exclude.png)

## 跳过 MyBatis Sensor
如果有时候想要跳过 MyBatis 扫描,你可以修改全局属性 `sonar.mybatis.skip``true` 或者在命令行中添加参数:
`-Dsonar.mybatis.skip=true`

## 贡献
可以在 https://github.com/donhui/sonar-mybatis/issues 提交 bug 和新功能请求。

Expand Down

0 comments on commit bbc6f8e

Please sign in to comment.