Java – clear groupid sonar
•
Java
I'm using Maven and sonar with eclipse I already have my Maven project on localhost 9000
Solution
I have the same problem. Here are the tips:
>The key of sonar project is to follow the naming convention [groupid]: [artifactid] They are separated by ": For example, if the key is com Example: sample, then the groupid is com Example, artifactid is the sample. > Eclipse project name must be the same as artifactid (case sensitive)
Therefore, you need to 1) change the sonar project key to the above naming convention, and 2) change the eclipse project name to artifactid Then when you click the "find on server" button, eclipse will automatically link your eclipse project to the sonar project
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码