Sonar scanner can't use Java custome rule

After I enable debug in sonnar-scanner, I find this warning:

WARN: Bytecode of dependencies was not provided for analysis of source files, you might end up with less precise results. Bytecode can be provided using sonar.java.libraries property.

Then I Google search this, it shows that this is an issue need fix.
Sonar Scanner for Maven reports warning “missing sonar.java.libraries” when project doesn’t have any dependencies - SonarCloud - Sonar Community (sonarsource.com)
[MSONAR-170] Misleading warning when project has no dependencies - Jira (atlassian.net)

Last I find this jira , say this issue had fixed in version: 6.1.2
[SONARJAVA-3114] Message about missing bytecode dependencies should appear only when dependencies are actually missing - Jira (atlassian.net)

I want to know that: what shoud I change about this sonarjava

  1. when I develop Java custom rule,sonar-java-plugin version >= 6.1.2
<dependency>
            <groupId>org.sonarsource.java</groupId>
            <artifactId>sonar-java-plugin</artifactId>
            <type>sonar-plugin</type>
            <version>>=6.1.2</version>
            <scope>provided</scope>
        </dependency>

2 . Or deployed sonarqube with one plugin >= 6.1.2 in \sonarqube_extensions\plugins directory,
e.g: sonar-java-plugin-6.15.1.26025.jar