Thank you for your help!
I have developed a sonar-xml plugin, but it occurred error when installed from marketplace.
There were two kinds of error, the one was "NoClassDefFoundError: org/sonarsource/analyzer/commons/RuleMetadataLoader" when I removed the configuration "<basePlugin>xml</basePlugin>" from "sonar-packaging-maven-plugin". The other one was "BasRequestException: Rule was removed: xml: xxxxCheck" when I remained the configuration "<basePlugin>xml</basePlugin>". For the last error, it would disappear when I added the removed rule in my custom plugin manually.
And there is already a sonar-xml plugin in SonarQube, one SonarQube doesn’t support to install two xml plugin extending sonar-xml-plugin?