Maven project detected. You should run the goal 'org.sonarsource.scanner.maven:sonar' during build rather than using this GitHub Action

I’m going to use GitHib action for my project: https://github.com/pepstock-org/Charba

I have got this issue:

Maven project detected. You should run the goal 'org.sonarsource.scanner.maven:sonar' during build rather than using this GitHub Action.

I have got pom.xml ONLY for documentation, needed in GITHUB to have the dependencies.
It’s not a Maven project.

The check is in https://github.com/SonarSource/sonarcloud-github-action/blob/master/entrypoint.sh

Is there any “parameter” or configuration to force to ignore this check because my project is not a Maven one?

Thanks a lot.

I have removed pom.xml by GHA and it works.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.