Hello, dear.
Literally the 3rd day I began to learn a bunch of IDEA + Maven + SonarCube. From here there are a few questions. Help to understand, please!
How in IDEA (more precisely in the Maven Project tab) add sonar: sonar with the necessary parameters? Parameters - to connect to the sonar of the remote machine (lokalka). The person who has deployed a sonar, NetBeans generally uses, does not know about the idea, but needs to be mastered. Now I am doing Execute Maven Goal:
sonar: sonar -Psonar -Dsonar.host.url = http://192.168.54.233:9000 -Dsonar.jdbc.url = jdbc: postgresql: //192.168.54.233/sonar
There is a module in the project, which (module) is flooded from GIT. On the Sonar this module is already there (in the form of a project). When trying to connect the sonar gives an error:
Failed to execute goal org.codehaus.mojo: sonar-maven-plugin: 2.6: sonar (default-cli) on project new_elk: The project 'com.xxx.xxx.lk:lk_protocol' module of project 'com.xxx:new_elk'. Analysing project 'com.xxx.xxx.lk:lk_protocol', if you really want to stop, please first delete it from SonarQube and then relaunch the analysis of the project 'com.xxx:new_elk'. -> [Help 1]
What can be done to fix this without removing the project from the sonar? I will make a reservation that this project (lk_protokol) is used in my form of a module for the main project, and you cannot make it a separate project.
I would be very grateful for any answers!