I’m trying to set up Sonarcloud for the Quarkus project and things are not working very well:
Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:184.108.40.2066:sonar (default-cli) on project quarkus-parent: Project ‘quarkusio_quarkus’ can’t have 2 modules with the following key: quarkusio_quarkus -> [Help 1]
Setup is the following:
- GitHub + SonarCloud
- GitHub Actions workflow is here: https://github.com/quarkusio/quarkus/blob/master/.github/workflows/sonarcloud.yml
- Failing build is here: https://github.com/quarkusio/quarkus/runs/1343132571?check_suite_focus=true
I only build the master tree for now.
The project is a very large multi-modules Maven project but I don’t really know what the problem could be given the error message.
I saw a few persons reporting the same issues but I couldn’t find anything helpful.
I followed the instructions given on Sonarcloud, except I don’t run the tests for now (I know I won’t have test coverage but that’s a good first step).