Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
73 views

I used sonar-maven-plugin 3.11.0.3922 on a java program which was compiled with jdk1.8.0_391_x64, but got the "sonar failed: An API incompatibility was encountered while executing org.sonarsource....
albertkao9's user avatar
0 votes
1 answer
1k views

this is the error i get Failed to execute goal [32morg.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar[m [1m(default-cli)[m on project[m: [1;31mExecution default-cli of goal org....
a.kod's user avatar
  • 3
0 votes
1 answer
3k views

Behaviour of sonar-maven-plugin varies when maven-compiler-plugin is/isn't defined. I spent some time to find out the proper setting. Create a simple Java maven project and keep the pom.xml simple. &...
Franz Wong's user avatar
  • 1,164
8 votes
4 answers
21k views

My Java project written and compiled in 1.8 through Maven. I am getting the following error when I try to analyze my code using sonar-maven-plugin Ver. 3.9.1.2184 for SonarQube 9.2.4. The following ...
Subhasis Basu's user avatar
3 votes
0 answers
1k views

How can I configure sonar-maven-plugin in my parent pom to accept (or ignore) Java 9 module-info.java files? After adding module-info.java files to my Maven multi module project our mvn sonar:sonar ...
matsev's user avatar
  • 34k
0 votes
1 answer
2k views

I am running the goal from Teamcity for Scala project as org.jacoco:jacoco-maven-plugin:prepare-agent -U sonar:sonar My pom.xml file looks like: <sonar-maven-plugin.version>2.0</sonar-maven-...
Priya's user avatar
  • 303
1 vote
0 answers
349 views

I have an error running the coverage with sonarq. i'm using jdk11, jacoco 0.8.6 <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>...
Francisco Villegas's user avatar
0 votes
1 answer
982 views

After completion of the SonarScanner analysis, there's some post-job running as below: [DEBUG] 14:56:53.076 Post-jobs : Sonar Plug-in for Bitbucket Cloud [INFO] 14:56:53.076 Executing post-job 'Sonar ...
swaroop's user avatar
  • 43
2 votes
1 answer
6k views

I have the following plugins configured in my maven build: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</...
Arlo Guthrie's user avatar
  • 1,234
0 votes
1 answer
1k views

Im looking to see any maven configuration which will enable me to run Sonar Scan on my code for every maven build. I dont want to use a separate goal but somehow enforce it as part of users regular ...
sunnyX's user avatar
  • 87
2 votes
2 answers
4k views

Is it supported by sonar-maven-plugin to set the "Ignore Issues on Multiple Criteria" to Narrow the focus as -Dsonar.issue.ignore.multicriteria for the sonar-maven-plugin run command? Any working ...
Yuval Simhon's user avatar
  • 1,459
0 votes
1 answer
684 views

We scan projects with the sonar-maven-plugin and struggle over this error in the respective Jenkins stage ... 14:46:19 [INFO] Sensor JaCoCoSensor 14:46:19 [WARNING] You are not using the latest ...
papanito's user avatar
  • 2,622
2 votes
2 answers
10k views

I use the sonar-maven-plugin version 3.4.0.905 to SonarQube-scan a flat hierarchy, multi-module Maven project. I have noticed a warning in the log of one of the 14 modules I scan. [WARNING] Bytecode ...
A.H.'s user avatar
  • 31
4 votes
1 answer
3k views

I am using SonarQube 6.7.3 with Sonar java plugin 5.3 I have a Serializable java class with a map as an instance variable. 1. Map is showing S1948 rule violation when initialized with null explicitly....
arkay's user avatar
  • 159
0 votes
2 answers
3k views

I have a multi-module maven project with the following versions of softwares: Maven : 3.2.1 JDK : 1.6 sonar-maven-plugin : 3.4.0 SonarQube server : 6.7.0 (Build 33306) I get the following error on ...
saupan's user avatar
  • 300
1 vote
1 answer
332 views

We're getting an odd error on one of our new github projects when we attempt to run a sonar analysis. We get the following error message and it appears to be because org.kohsuke.github.GHCommitStatus["...
mstod370's user avatar
-3 votes
1 answer
180 views

The build for this job is getting failed because of the following error. I'm not sure what this is about. Can anyone help me resolve this?
vamshi krishna's user avatar
0 votes
1 answer
442 views

I'm using sonar-maven-plugin on my local machine (with SonarQube version: 5.6.6): <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</...
Kiril  Mytsykov's user avatar
0 votes
1 answer
231 views

I am implementing sonar in my existing maven project.I am getting this error : unable to find mojo sonar (or one of its component) in the plugin org.sonarsource.scanner.maven:sonar-maven-plugin ...
pooja's user avatar
  • 21
5 votes
2 answers
2k views

Our use case for Sonar creates new Sonar projects for each branch of our repository. How do we automatically associate the new branch project with a (non-default) Quality Profile and Quality Gate? We'...
Mzzzzzz's user avatar
  • 5,010
1 vote
1 answer
988 views

we're having trouble with building a project in Jenkins. First of all some details on what we're using: Jenkins 1.596.1 SonarQube 4.4 Java SE Development Kit, Update 92 Maven 3.3.3 sonar-maven-plugin ...
RobCo's user avatar
  • 61
19 votes
3 answers
20k views

I am using sonar-maven-plugin 3.2 and maven 3.3.9. In the parent POM, I have the sonar.projectKey maven property defined. The value is in effect, I can see it from the printout of sonar. But the mvn ...
McH's user avatar
  • 233
3 votes
1 answer
1k views

One of my fellow developers created a new application the other day and now I can't get a good Sonar compile. I've tried a number of documented workarounds/solutions to this sort of Absent Code error, ...
Sinc's user avatar
  • 703
1 vote
1 answer
930 views

Is these any change to find changelog/release note for 3.3.0.60 34? https://github.com/SonarSource/sonar-scanner-maven has just a broken link to http://sonarsource.github.io/sonar-maven
kingoleg's user avatar
  • 1,323
0 votes
1 answer
274 views

I have a problem. I need to analyze these two languages along with sonarQube 5.6, any idea how of to do it? I have install maven and MSBuild SonarRunner but I never made them run together
Gaston Paolo's user avatar
1 vote
0 answers
2k views

I already install Java 1.8.0_111 (newest update), download apache-maven-3.3.9 and SonarQube-6.1 and put sonar-web-plugin-2.5.0.476.jar into sonarQube extension plugin. I have a problem when running ...
David Vincent's user avatar
3 votes
1 answer
6k views

We are working on a existing project which should be compiled only in Java 6 version.We have sonar 4.5.7 to analyze the code quality.Now my question is the sonar-maven-plugin compatibility version ...
Joy Chowdhury's user avatar
2 votes
2 answers
6k views

I have a problem with maven-sonar settings. I need to include all my project files at src/main/java and src/main/resources so that SonarQube will show results of all my files but exclude some files in ...
David Vincent's user avatar
0 votes
2 answers
1k views

Had to update our maven assembler version to 1.1.8 from 1.1.6. It's the only change that happened and now Sonar Maven Plugin is throwing this exception: [ERROR] Failed to execute goal org.sonarsource....
Lencalot's user avatar
  • 395
5 votes
2 answers
3k views

I have all those tools reporting the same coverage with JaCoCo: 69% line coverage and 23% branch coverage. Note: Screenshots had been taken over several days so they have slightly different values, ...
Jakub Bochenski's user avatar
1 vote
1 answer
1k views

I want to integrate my maven java application with SonarQube5.4. Using maven3.3.3 and MySQL5.7.12 Already SonarQube installed successfully and its running. If i go to my project path in command ...
Gnik's user avatar
  • 7,508
4 votes
1 answer
3k views

I have several levels of nested Maven projects, where every module can participate in the global integration tests. To have a global, multi module coverage, I've configured jacoco to use and share the ...
spi's user avatar
  • 646
0 votes
1 answer
48 views

How can i run sonarsource report plugin through maven command for generating sonar analysis reports? I know the way to do it through sonar-runner, but can we do it directly through mvn command ?
NehaK's user avatar
  • 1
0 votes
2 answers
1k views

My Jenkins build is failing with this below error. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:50.002s [INFO] Finished at:...
Naimisha's user avatar
5 votes
0 answers
2k views

We have several different faults with our jacoco.exec file, see the Error types below. Can you please help us with this problem, we have at least 25% build failures due to Jacoco. Error Type 1: 09:...
Per-Arne's user avatar
1 vote
0 answers
114 views

I have two SonarQube components that existed under the same directory. Rather than running analysis of both sub-directories, I'd like to view only the parent. I would prefer not to delete the issues ...
CNofy's user avatar
  • 41
6 votes
1 answer
5k views

I'm trying to setup SonarQube (v.4.5.6) with maven support. I believe my configuration is correct but I can't get SonarQube analysis to run without errors. My project's dependencies: <...
resilva87's user avatar
  • 3,495
2 votes
1 answer
1k views

My environment is the following: http://localhost:9000/sonar/api/server/version :: 5.2 java,sonar-java-plugin-3.7.jar|07dba2b9cad37584d82522414b2dccd0 scmgit,sonar-scm-git-plugin-1.0.jar|...
railnet's user avatar
  • 21
1 vote
4 answers
10k views

I see I am not the only one having this problem from 14 hours ago. At my office, other projects are failing too but the message shown make reference to sonar-maven-plugin:2.6:sonar org.apache.maven....
user avatar
6 votes
6 answers
23k views

My jenkins builds just started to fail with this message: [INFO] --- sonar-maven-plugin:2.7:sonar (default-cli) @ cividas-core-web --- [INFO] artifact com.ontimize:ontimize-core: checking for updates ...
NotGaeL's user avatar
  • 8,555