I’m attempting to integrate sonarcloud into my github repos via git action. This is a java/maven driven project. I’ve updated my pom.xml with the required properties:
Failed to execute goal on project persistence-api: Could not resolve dependencies for project org.mskcc.cbio:persistence-api:jar:3.4.13-7-ga4aa6936c-SNAPSHOT: Could not find artifact org.mskcc.cbio:model:jar:3.4.13-7-ga4aa6936c-SNAPSHOT
I’ve gotten further by modifying the maven run command in my .yml file to actually build the code in addition to running sonar “verify” step. I’m now running into the following error in the sonarcloud log:
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project master: Project ‘cBioPortal_cbioportal’ can’t have 2 modules with the following key: cBioPortal_cbioportal → [Help 1]
I’ve put the required maven - sonar properties in my top level pom.xml. Do they belong someplace else?
Thanks for your time and attention to this matter.