mvn sonar:sonar \
-Dsonar.projectName=qxx_server_master \
-Dsonar.projectKey=qxx_server_master \
-Dsonar.host.url=http://192.168.0.101:9000 \
-Dsonar.login=xxxxxxx
SonarQube version: 7.9.4
...
[INFO] Project configuration:
[INFO] Included sources: */src/main/**, */src/main/resources/**
[INFO] Indexing files of module 'qxx_server_master'
[INFO] Base dir: /home/ray/develop/working/learn/learn-api
[INFO] Source paths: pom.xml, src/main/java
[INFO] Test paths: src/test/java
[INFO] Included sources: */src/main/**, */src/main/resources/**
[INFO] Indexing files of module 'qxx_server_master'
[INFO] Base dir: /home/ray/develop/working/learn/learn-model
[INFO] Source paths: pom.xml, src/main/java
[INFO] Included sources: */src/main/**, */src/main/resources/**
[INFO] Indexing files of module 'qxx_server_master'
[INFO] Base dir: /home/ray/develop/working/learn/learn-util
[INFO] Source paths: pom.xml, src/main/java
[INFO] Included sources: */src/main/**, */src/main/resources/**
[INFO] Indexing files of module 'qxx_server_master'
[INFO] Base dir: /home/ray/develop/working/learn/learn-web
[INFO] Source paths: src/main/webapp, pom.xml, src/main/java
[INFO] Included sources: */src/main/**, */src/main/resources/**
我使用了一个包含子模块的spring boot项目,无论如何配置Included sources路径,都不能让他扫描mybatis目录
执行命令
日志相关
结果并没有任何src/main/resources目录代码,只有src/main/java和src/main/webapp代码