Skip to content

Instantly share code, notes, and snippets.

@Zetten
Created September 13, 2014 15:14
Show Gist options
  • Save Zetten/b923f0ac950e3501159a to your computer and use it in GitHub Desktop.
Save Zetten/b923f0ac950e3501159a to your computer and use it in GitHub Desktop.
sonar-jacoco-issue log
$ mvn clean install && mvn sonar:sonar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Sonar/JaCoCo Issue Example
[INFO] Module One
[INFO] Module Two
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sonar/JaCoCo Issue Example 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ app ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ app ---
[INFO] Installing E:\Zetten\Projects\sonar-jacoco-issue\pom.xml to E:\MavenRepository\com\example\app\1.0.0-SNAPSHOT\app-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Module One 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ module-one ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.0.201403182114:prepare-agent (agent) @ module-one ---
[INFO] jacoco.agent.argLine set to -javaagent:E:\\MavenRepository\\org\\jacoco\\org.jacoco.agent\\0.7.0.201403182114\\org.jacoco.agent-0.7.0.201403182114-runtime.jar=destfile=E:\\Zetten\\Projects\\sonar-jacoco-issue\\module-one\\target\\jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ module-one ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ module-one ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ module-one ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ module-one ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ module-one ---
[INFO] Surefire report directory: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.example.ModuleOneTest
Module one
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec - in com.example.ModuleOneTest
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ module-one ---
[INFO] Building jar: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\module-one-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:integration-test (default) @ module-one ---
[INFO] Failsafe report directory: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.example.ModuleOneIT
Module one
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec - in com.example.ModuleOneIT
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (default) @ module-one ---
[INFO] Failsafe report directory: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\failsafe-reports
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ module-one ---
[INFO] Installing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\module-one-1.0.0-SNAPSHOT.jar to E:\MavenRepository\com\example\module-one\1.0.0-SNAPSHOT\module-one-1.0.0-SNAPSHOT.jar
[INFO] Installing E:\Zetten\Projects\sonar-jacoco-issue\module-one\pom.xml to E:\MavenRepository\com\example\module-one\1.0.0-SNAPSHOT\module-one-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Module Two 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ module-two ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.0.201403182114:prepare-agent (agent) @ module-two ---
[INFO] jacoco.agent.argLine set to -javaagent:E:\\MavenRepository\\org\\jacoco\\org.jacoco.agent\\0.7.0.201403182114\\org.jacoco.agent-0.7.0.201403182114-runtime.jar=destfile=E:\\Zetten\\Projects\\sonar-jacoco-issue\\module-two\\target\\jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ module-two ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ module-two ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ module-two ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ module-two ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ module-two ---
[INFO] Surefire report directory: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.example.ModuleTwoTest
Module two
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec - in com.example.ModuleTwoTest
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ module-two ---
[INFO] Building jar: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\module-two-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ module-two ---
[INFO] Installing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\module-two-1.0.0-SNAPSHOT.jar to E:\MavenRepository\com\example\module-two\1.0.0-SNAPSHOT\module-two-1.0.0-SNAPSHOT.jar
[INFO] Installing E:\Zetten\Projects\sonar-jacoco-issue\module-two\pom.xml to E:\MavenRepository\com\example\module-two\1.0.0-SNAPSHOT\module-two-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Sonar/JaCoCo Issue Example ......................... SUCCESS [ 0.199 s]
[INFO] Module One ......................................... SUCCESS [ 2.408 s]
[INFO] Module Two ......................................... SUCCESS [ 0.665 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.353 s
[INFO] Finished at: 2014-09-13T16:58:20+02:00
[INFO] Final Memory: 18M/166M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Sonar/JaCoCo Issue Example
[INFO] Module One
[INFO] Module Two
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sonar/JaCoCo Issue Example 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- sonar-maven-plugin:2.4:sonar (default-cli) @ app ---
[INFO] SonarQube version: 4.4
INFO: Default locale: "en_GB", source code encoding: "UTF-8"
INFO: Work directory: E:\Zetten\Projects\sonar-jacoco-issue\target\sonar
INFO: SonarQube Server 4.4
[INFO] [16:58:24.432] Load global settings
[INFO] [16:58:24.548] User cache: C:\Users\Peter\.sonar\cache
[INFO] [16:58:24.555] Install plugins
[INFO] [16:58:24.590] Install JDBC driver
[WARN] [16:58:24.596] H2 database should be used for evaluation purpose only
[INFO] [16:58:24.596] Create JDBC datasource for jdbc:h2:tcp://localhost/sonar
[INFO] [16:58:24.643] Initializing Hibernate
[INFO] [16:58:26.410] Loading technical debt model...
[INFO] [16:58:26.420] Loading technical debt model done: 10 ms
[INFO] [16:58:26.422] Load project settings
[INFO] [16:58:26.520] Apply project exclusions
[INFO] [16:58:26.599] ------------- Scan Module One
[INFO] [16:58:26.600] Load module settings
[INFO] [16:58:26.969] Loading rules...
[INFO] [16:58:27.153] Loading rules done: 184 ms
[INFO] [16:58:27.166] Configure Maven plugins
[INFO] [16:58:27.205] Compare to previous analysis (2014-09-13)
[INFO] [16:58:27.207] Compare over 30 days (2014-08-14, analysis of 2014-09-13 16:46:01.52)
[INFO] [16:58:27.208] No quality gate is configured.
[INFO] [16:58:27.294] Initializer FindbugsMavenInitializer...
[INFO] [16:58:27.295] Initializer FindbugsMavenInitializer done: 1 ms
[INFO] [16:58:27.295] Base dir: E:\Zetten\Projects\sonar-jacoco-issue\module-one
[INFO] [16:58:27.295] Working dir: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\sonar
[INFO] [16:58:27.296] Source dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\main\java
[INFO] [16:58:27.296] Test dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\test\java
[INFO] [16:58:27.296] Binary dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\classes
[INFO] [16:58:27.296] Source encoding: UTF-8, default locale: en_GB
[INFO] [16:58:27.296] Index files
[INFO] [16:58:27.323] 3 files indexed
[INFO] [16:58:27.352] Quality profile for java: Sonar way
[INFO] [16:58:27.360] Sensor JavaSquidSensor...
[INFO] [16:58:27.390] Java Main Files AST scan...
[INFO] [16:58:27.393] 1 source files to be analyzed
[INFO] [16:58:27.447] 1/1 source files analyzed
[INFO] [16:58:27.447] Java Main Files AST scan done: 57 ms
[INFO] [16:58:27.449] Java bytecode scan...
[INFO] [16:58:27.464] Java bytecode scan done: 15 ms
[INFO] [16:58:27.464] Java Test Files AST scan...
[INFO] [16:58:27.464] 2 source files to be analyzed
[INFO] [16:58:27.469] Java Test Files AST scan done: 5 ms
[INFO] [16:58:27.471] 2/2 source files analyzed
[INFO] [16:58:27.474] Package design analysis...
[INFO] [16:58:27.477] Package design analysis done: 3 ms
[INFO] [16:58:27.495] Sensor JavaSquidSensor done: 135 ms
[INFO] [16:58:27.495] Sensor QProfileSensor...
[INFO] [16:58:27.497] Sensor QProfileSensor done: 2 ms
[INFO] [16:58:27.497] Sensor InitialOpenIssuesSensor...
[INFO] [16:58:27.504] Sensor InitialOpenIssuesSensor done: 7 ms
[INFO] [16:58:27.504] Sensor ProjectLinksSensor...
[INFO] [16:58:27.507] Sensor ProjectLinksSensor done: 3 ms
[INFO] [16:58:27.507] Sensor VersionEventsSensor...
[INFO] [16:58:27.514] Sensor VersionEventsSensor done: 7 ms
[INFO] [16:58:27.514] Sensor FileHashSensor...
[INFO] [16:58:27.514] Sensor FileHashSensor done: 0 ms
[INFO] [16:58:27.514] Sensor SurefireSensor...
[INFO] [16:58:27.515] parsing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\surefire-reports
[INFO] [16:58:27.565] Sensor SurefireSensor done: 51 ms
[INFO] [16:58:27.565] Sensor JaCoCoItSensor...
[INFO] [16:58:27.567] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-one\..\target\jacoco-it.exec
[INFO] [16:58:27.599] No information about coverage per test.
[INFO] [16:58:27.599] Sensor JaCoCoItSensor done: 34 ms
[INFO] [16:58:27.599] Sensor JaCoCoOverallSensor...
[INFO] [16:58:27.607] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\sonar\jacoco-overall.exec
[INFO] [16:58:27.610] No information about coverage per test.
[INFO] [16:58:27.610] Sensor JaCoCoOverallSensor done: 11 ms
[INFO] [16:58:27.610] Sensor CpdSensor...
[INFO] [16:58:27.610] SonarEngine is used for java
[INFO] [16:58:27.610] Cross-project analysis disabled
[INFO] [16:58:27.620] Sensor CpdSensor done: 10 ms
[INFO] [16:58:27.620] Sensor Maven dependencies...
[INFO] [16:58:27.656] Sensor Maven dependencies done: 36 ms
[INFO] [16:58:27.657] Sensor JaCoCoSensor...
[INFO] [16:58:27.658] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\jacoco.exec
[INFO] [16:58:27.660] Information about coverage per test has been collected.
[INFO] [16:58:27.660] Sensor JaCoCoSensor done: 3 ms
[INFO] [16:58:27.830] Execute decorators...
[INFO] [16:58:27.949] ------------- Scan Module Two
[INFO] [16:58:27.950] Load module settings
[INFO] [16:58:28.047] Configure Maven plugins
[INFO] [16:58:28.054] Compare to previous analysis (2014-09-13)
[INFO] [16:58:28.056] Compare over 30 days (2014-08-14, analysis of 2014-09-13 16:46:01.52)
[INFO] [16:58:28.058] No quality gate is configured.
[INFO] [16:58:28.070] Initializer FindbugsMavenInitializer...
[INFO] [16:58:28.070] Initializer FindbugsMavenInitializer done: 0 ms
[INFO] [16:58:28.070] Base dir: E:\Zetten\Projects\sonar-jacoco-issue\module-two
[INFO] [16:58:28.070] Working dir: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\sonar
[INFO] [16:58:28.070] Source dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\main\java
[INFO] [16:58:28.070] Test dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\test\java
[INFO] [16:58:28.070] Binary dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\classes
[INFO] [16:58:28.070] Source encoding: UTF-8, default locale: en_GB
[INFO] [16:58:28.070] Index files
[INFO] [16:58:28.077] 2 files indexed
[INFO] [16:58:28.095] Quality profile for java: Sonar way
[INFO] [16:58:28.099] Sensor JavaSquidSensor...
[INFO] [16:58:28.102] Java Main Files AST scan...
[INFO] [16:58:28.103] 1 source files to be analyzed
[INFO] [16:58:28.115] 1/1 source files analyzed
[INFO] [16:58:28.115] Java Main Files AST scan done: 13 ms
[INFO] [16:58:28.116] Java bytecode scan...
[INFO] [16:58:28.118] Java bytecode scan done: 2 ms
[INFO] [16:58:28.118] Java Test Files AST scan...
[INFO] [16:58:28.119] 1 source files to be analyzed
[INFO] [16:58:28.120] Java Test Files AST scan done: 2 ms
[INFO] [16:58:28.120] Package design analysis...
[INFO] [16:58:28.121] Package design analysis done: 1 ms
[INFO] [16:58:28.123] Sensor JavaSquidSensor done: 24 ms
[INFO] [16:58:28.123] Sensor QProfileSensor...
[INFO] [16:58:28.123] Sensor QProfileSensor done: 0 ms
[INFO] [16:58:28.123] Sensor InitialOpenIssuesSensor...
[INFO] [16:58:28.123] 1/1 source files analyzed
[INFO] [16:58:28.130] Sensor InitialOpenIssuesSensor done: 7 ms
[INFO] [16:58:28.130] Sensor ProjectLinksSensor...
[INFO] [16:58:28.131] Sensor ProjectLinksSensor done: 1 ms
[INFO] [16:58:28.131] Sensor VersionEventsSensor...
[INFO] [16:58:28.135] Sensor VersionEventsSensor done: 4 ms
[INFO] [16:58:28.135] Sensor FileHashSensor...
[INFO] [16:58:28.135] Sensor FileHashSensor done: 0 ms
[INFO] [16:58:28.135] Sensor SurefireSensor...
[INFO] [16:58:28.135] parsing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\surefire-reports
[INFO] [16:58:28.138] Sensor SurefireSensor done: 3 ms
[INFO] [16:58:28.138] Sensor JaCoCoItSensor...
[INFO] [16:58:28.138] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-two\..\target\jacoco-it.exec
[INFO] [16:58:28.140] No information about coverage per test.
[INFO] [16:58:28.140] Sensor JaCoCoItSensor done: 2 ms
[INFO] [16:58:28.140] Sensor JaCoCoOverallSensor...
[INFO] [16:58:28.145] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\sonar\jacoco-overall.exec
[INFO] [16:58:28.147] Information about coverage per test has been collected.
[INFO] [16:58:28.148] Sensor JaCoCoOverallSensor done: 7 ms
[INFO] [16:58:28.148] Sensor CpdSensor...
[INFO] [16:58:28.149] SonarEngine is used for java
[INFO] [16:58:28.149] Cross-project analysis disabled
[INFO] [16:58:28.155] Sensor CpdSensor done: 7 ms
[INFO] [16:58:28.155] Sensor Maven dependencies...
[INFO] [16:58:28.158] Sensor Maven dependencies done: 3 ms
[INFO] [16:58:28.158] Sensor JaCoCoSensor...
[INFO] [16:58:28.159] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\jacoco.exec
[ERROR] The link between test and com.example:module-two:src/main/java/com/example/ModuleTwo.java already exists
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Sonar/JaCoCo Issue Example ......................... FAILURE [ 4.504 s]
[INFO] Module One ......................................... SKIPPED
[INFO] Module Two ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.617 s
[INFO] Finished at: 2014-09-13T16:58:28+02:00
[INFO] Final Memory: 23M/462M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal sonar:sonar (default-cli) on project app: The link between test and com.example:module-two:src/main/java/com/example/ModuleTwo.java already exists -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
$ rm target/jacoco-it.exec
$ mvn sonar:sonar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Sonar/JaCoCo Issue Example
[INFO] Module One
[INFO] Module Two
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sonar/JaCoCo Issue Example 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- sonar-maven-plugin:2.4:sonar (default-cli) @ app ---
[INFO] SonarQube version: 4.4
INFO: Default locale: "en_GB", source code encoding: "UTF-8"
INFO: Work directory: E:\Zetten\Projects\sonar-jacoco-issue\target\sonar
INFO: SonarQube Server 4.4
[INFO] [17:12:32.336] Load global settings
[INFO] [17:12:32.420] User cache: C:\Users\Peter\.sonar\cache
[INFO] [17:12:32.425] Install plugins
[INFO] [17:12:32.451] Install JDBC driver
[WARN] [17:12:32.458] H2 database should be used for evaluation purpose only
[INFO] [17:12:32.458] Create JDBC datasource for jdbc:h2:tcp://localhost/sonar
[INFO] [17:12:32.502] Initializing Hibernate
[INFO] [17:12:34.297] Loading technical debt model...
[INFO] [17:12:34.305] Loading technical debt model done: 8 ms
[INFO] [17:12:34.307] Load project settings
[INFO] [17:12:34.362] Apply project exclusions
[INFO] [17:12:34.443] ------------- Scan Module One
[INFO] [17:12:34.445] Load module settings
[INFO] [17:12:34.700] Loading rules...
[INFO] [17:12:34.816] Loading rules done: 116 ms
[INFO] [17:12:34.830] Configure Maven plugins
[INFO] [17:12:34.876] Compare to previous analysis (2014-09-13)
[INFO] [17:12:34.880] Compare over 30 days (2014-08-14, analysis of 2014-09-13 16:46:01.52)
[INFO] [17:12:34.881] No quality gate is configured.
[INFO] [17:12:34.971] Initializer FindbugsMavenInitializer...
[INFO] [17:12:34.972] Initializer FindbugsMavenInitializer done: 1 ms
[INFO] [17:12:34.972] Base dir: E:\Zetten\Projects\sonar-jacoco-issue\module-one
[INFO] [17:12:34.972] Working dir: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\sonar
[INFO] [17:12:34.972] Source dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\main\java
[INFO] [17:12:34.972] Test dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\src\test\java
[INFO] [17:12:34.972] Binary dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\classes
[INFO] [17:12:34.972] Source encoding: UTF-8, default locale: en_GB
[INFO] [17:12:34.972] Index files
[INFO] [17:12:34.999] 3 files indexed
[INFO] [17:12:35.028] Quality profile for java: Sonar way
[INFO] [17:12:35.036] Sensor JavaSquidSensor...
[INFO] [17:12:35.071] Java Main Files AST scan...
[INFO] [17:12:35.073] 1 source files to be analyzed
[INFO] [17:12:35.130] 1/1 source files analyzed
[INFO] [17:12:35.130] Java Main Files AST scan done: 59 ms
[INFO] [17:12:35.132] Java bytecode scan...
[INFO] [17:12:35.146] Java bytecode scan done: 14 ms
[INFO] [17:12:35.147] Java Test Files AST scan...
[INFO] [17:12:35.147] 2 source files to be analyzed
[INFO] [17:12:35.152] Java Test Files AST scan done: 5 ms
[INFO] [17:12:35.153] 2/2 source files analyzed
[INFO] [17:12:35.156] Package design analysis...
[INFO] [17:12:35.159] Package design analysis done: 3 ms
[INFO] [17:12:35.177] Sensor JavaSquidSensor done: 141 ms
[INFO] [17:12:35.177] Sensor QProfileSensor...
[INFO] [17:12:35.179] Sensor QProfileSensor done: 2 ms
[INFO] [17:12:35.179] Sensor InitialOpenIssuesSensor...
[INFO] [17:12:35.187] Sensor InitialOpenIssuesSensor done: 8 ms
[INFO] [17:12:35.187] Sensor ProjectLinksSensor...
[INFO] [17:12:35.189] Sensor ProjectLinksSensor done: 2 ms
[INFO] [17:12:35.190] Sensor VersionEventsSensor...
[INFO] [17:12:35.198] Sensor VersionEventsSensor done: 8 ms
[INFO] [17:12:35.199] Sensor FileHashSensor...
[INFO] [17:12:35.199] Sensor FileHashSensor done: 0 ms
[INFO] [17:12:35.200] Sensor SurefireSensor...
[INFO] [17:12:35.200] parsing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\surefire-reports
[INFO] [17:12:35.251] Sensor SurefireSensor done: 51 ms
[INFO] [17:12:35.251] Sensor CpdSensor...
[INFO] [17:12:35.251] SonarEngine is used for java
[INFO] [17:12:35.252] Cross-project analysis disabled
[INFO] [17:12:35.263] Sensor CpdSensor done: 12 ms
[INFO] [17:12:35.263] Sensor Maven dependencies...
[INFO] [17:12:35.298] Sensor Maven dependencies done: 35 ms
[INFO] [17:12:35.298] Sensor JaCoCoSensor...
[INFO] [17:12:35.301] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-one\target\jacoco.exec
[INFO] [17:12:35.337] Information about coverage per test has been collected.
[INFO] [17:12:35.337] Sensor JaCoCoSensor done: 39 ms
[INFO] [17:12:35.528] Execute decorators...
[INFO] [17:12:35.688] ------------- Scan Module Two
[INFO] [17:12:35.689] Load module settings
[INFO] [17:12:35.784] Configure Maven plugins
[INFO] [17:12:35.785] Compare to previous analysis (2014-09-13)
[INFO] [17:12:35.786] Compare over 30 days (2014-08-14, analysis of 2014-09-13 16:46:01.52)
[INFO] [17:12:35.786] No quality gate is configured.
[INFO] [17:12:35.796] Initializer FindbugsMavenInitializer...
[INFO] [17:12:35.796] Initializer FindbugsMavenInitializer done: 0 ms
[INFO] [17:12:35.796] Base dir: E:\Zetten\Projects\sonar-jacoco-issue\module-two
[INFO] [17:12:35.796] Working dir: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\sonar
[INFO] [17:12:35.796] Source dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\main\java
[INFO] [17:12:35.796] Test dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\src\test\java
[INFO] [17:12:35.796] Binary dirs: E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\classes
[INFO] [17:12:35.796] Source encoding: UTF-8, default locale: en_GB
[INFO] [17:12:35.796] Index files
[INFO] [17:12:35.802] 2 files indexed
[INFO] [17:12:35.828] Quality profile for java: Sonar way
[INFO] [17:12:35.833] Sensor JavaSquidSensor...
[INFO] [17:12:35.839] Java Main Files AST scan...
[INFO] [17:12:35.839] 1 source files to be analyzed
[INFO] [17:12:35.846] Java Main Files AST scan done: 7 ms
[INFO] [17:12:35.846] Java bytecode scan...
[INFO] [17:12:35.849] Java bytecode scan done: 3 ms
[INFO] [17:12:35.849] Java Test Files AST scan...
[INFO] [17:12:35.849] 1 source files to be analyzed
[INFO] [17:12:35.851] Java Test Files AST scan done: 2 ms
[INFO] [17:12:35.851] Package design analysis...
[INFO] [17:12:35.851] Package design analysis done: 0 ms
[INFO] [17:12:35.853] Sensor JavaSquidSensor done: 20 ms
[INFO] [17:12:35.853] Sensor QProfileSensor...
[INFO] [17:12:35.853] Sensor QProfileSensor done: 0 ms
[INFO] [17:12:35.853] Sensor InitialOpenIssuesSensor...
[INFO] [17:12:35.860] Sensor InitialOpenIssuesSensor done: 7 ms
[INFO] [17:12:35.860] Sensor ProjectLinksSensor...
[INFO] [17:12:35.862] Sensor ProjectLinksSensor done: 2 ms
[INFO] [17:12:35.862] Sensor VersionEventsSensor...
[INFO] [17:12:35.865] Sensor VersionEventsSensor done: 3 ms
[INFO] [17:12:35.865] Sensor FileHashSensor...
[INFO] [17:12:35.865] Sensor FileHashSensor done: 0 ms
[INFO] [17:12:35.865] Sensor SurefireSensor...
[INFO] [17:12:35.866] parsing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\surefire-reports
[INFO] [17:12:35.868] Sensor SurefireSensor done: 3 ms
[INFO] [17:12:35.868] Sensor CpdSensor...
[INFO] [17:12:35.870] Sensor Maven dependencies...
[INFO] [17:12:35.870] 1/1 source files analyzed
[INFO] [17:12:35.872] Sensor Maven dependencies done: 2 ms
[INFO] [17:12:35.873] Sensor JaCoCoSensor...
[INFO] [17:12:35.873] Analysing E:\Zetten\Projects\sonar-jacoco-issue\module-two\target\jacoco.exec
[INFO] [17:12:35.875] Information about coverage per test has been collected.
[INFO] [17:12:35.875] Sensor JaCoCoSensor done: 2 ms
[INFO] [17:12:35.988] Execute decorators...
[INFO] [17:12:36.042] ------------- Scan Sonar/JaCoCo Issue Example
[INFO] [17:12:36.042] Load module settings
[INFO] [17:12:36.139] Configure Maven plugins
[INFO] [17:12:36.140] Compare to previous analysis (2014-09-13)
[INFO] [17:12:36.141] Compare over 30 days (2014-08-14, analysis of 2014-09-13 16:46:01.52)
[INFO] [17:12:36.141] No quality gate is configured.
[INFO] [17:12:36.149] Initializer FindbugsMavenInitializer...
[INFO] [17:12:36.149] Initializer FindbugsMavenInitializer done: 0 ms
[INFO] [17:12:36.149] Base dir: E:\Zetten\Projects\sonar-jacoco-issue
[INFO] [17:12:36.149] Working dir: E:\Zetten\Projects\sonar-jacoco-issue\target\sonar
[INFO] [17:12:36.149] Source encoding: UTF-8, default locale: en_GB
[INFO] [17:12:36.151] Sensor InitialOpenIssuesSensor...
[INFO] [17:12:36.157] Sensor InitialOpenIssuesSensor done: 6 ms
[INFO] [17:12:36.157] Sensor ProjectLinksSensor...
[INFO] [17:12:36.158] Sensor ProjectLinksSensor done: 1 ms
[INFO] [17:12:36.158] Sensor VersionEventsSensor...
[INFO] [17:12:36.161] Sensor VersionEventsSensor done: 3 ms
[INFO] [17:12:36.161] Sensor FileHashSensor...
[INFO] [17:12:36.161] Sensor FileHashSensor done: 0 ms
[INFO] [17:12:36.161] Sensor CpdSensor...
[INFO] [17:12:36.161] Sensor CpdSensor done: 0 ms
[INFO] [17:12:36.161] Sensor Maven dependencies...
[INFO] [17:12:36.163] Sensor Maven dependencies done: 2 ms
[INFO] [17:12:36.212] Execute decorators...
[INFO] [17:12:36.243] Store results in database
[INFO] [17:12:36.413] ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/com.example:app
[INFO] [17:12:36.525] Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob
[INFO] [17:12:36.526] Executing post-job class org.sonar.plugins.core.batch.IndexProjectPostJob
[INFO] [17:12:36.542] Executing post-job class org.sonar.plugins.dbcleaner.ProjectPurgePostJob
[INFO] [17:12:36.550] -> Keep one snapshot per day between 2014-08-16 and 2014-09-12
[INFO] [17:12:36.550] -> Keep one snapshot per week between 2013-09-14 and 2014-08-16
[INFO] [17:12:36.551] -> Keep one snapshot per month between 2009-09-19 and 2013-09-14
[INFO] [17:12:36.551] -> Delete data prior to: 2009-09-19
[INFO] [17:12:36.553] -> Clean Sonar/JaCoCo Issue Example [id=1]
[INFO] [17:12:36.555] <- Delete aborted builds
[INFO] [17:12:36.591] <- Clean snapshot 1
[INFO] [17:12:36.626] -> Clean Module One [id=2]
[INFO] [17:12:36.629] -> Clean Module Two [id=3]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Sonar/JaCoCo Issue Example ......................... SUCCESS [ 5.103 s]
[INFO] Module One ......................................... SKIPPED
[INFO] Module Two ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.220 s
[INFO] Finished at: 2014-09-13T17:12:36+02:00
[INFO] Final Memory: 21M/529M
[INFO] ------------------------------------------------------------------------
@arhimondr
Copy link

I have similar issue. Did you find the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment