Cannot build SonarLint-Core because CFamily plugin not resolved

(Julian J) #1


I’m trying to build sonarlint-core without success. There are references in the POMs to that maven module, which is not available in any maven repo I know :


The error during the build :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:copy (copy) on project sonarlint-daemon: Unable to find/resolve artifact.: 
Could not find artifact com.sonarsource.cpp:sonar-cfamily-plugin:jar: 
in ( 

Is there a specific repo to configure in the maven settings ?


How to reproduce ?

  1. Clone the git repo of sonarlint core
  2. mvn clean install

(Janos Gyerik) #3


The CFamily plugin is a commercial plugin, it’s only available in a private repository.

You can make the build pass by removing the sonar-cfamily-plugin and sonar-license-plugin in daemon/pom.xml.