Error: Project 'opencellsoft_core' can't have 2 modules with the following key: opencellsoft_core
Second attempt
transform the projectkey to <sonar.projectKey>opencellsoft_core-${project.groupId}:${project.artifactId}</sonar.projectKey>
Error: You're not authorized to run analysis. Please contact the project administrator.
3rd Attempt
Add modulekey properties <sonar.projectKey>opencellsoft_core</sonar.projectKey> <sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
Error: You're not authorized to run analysis. Please contact the project administrator.
The basic idea is that for a multi-module analysis you only need to “sonarify” the top level POM and, in particular, add a parameterized sonar.moduleKey element, which you have done.
The error you are getting, “You’re not authorized to run analysis”, suggests that you may be using an incorrect project key or organization key. Or that you have not configured the correct SONAR_TOKEN environment variable / secret. Can you check these?
I forked your repo and I was able to get an analysis using the equivalent of the above configuration (except I used my own project key and organization). Can you confirm that it works for you?