mvn sonar:sonar -Dsonar.analysis.mode=preview -Dsonar.issuesReport.html.enable=true
I do not think the first warning has anything to do with the issue, but I include it for completeness…
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in https://XXX.artifactory/proj-athena-release was cached in the local repository, resolution will not be reattempted until the update interval of athena-releases has elapsed or updates are forced
[WARNING] The artifact org.hibernate:hibernate-validator:jar:6.0.7.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.0.7.Final
[INFO] — sonar-maven-plugin:188.8.131.528:sonar (default-cli) @ athena —
[INFO] User cache: /home/rogerl/.sonar/cache
[INFO] SonarQube version: 6.7.5
[INFO] Default locale: “sv_SE”, source code encoding: “UTF-8”
[INFO] Issues mode
[WARNING] The use of the issues mode (sonar.analysis.mode=issues) is deprecated. This mode will be dropped in the future.
[INFO] Load global settings
[INFO] Load global settings (done) | time=354ms
Why does it list ‘issues’ when ‘preview’ is specified?
Why is not issues-report-light.html produced (did analyze that for build breaking)?
We are using gerrit, maven…, does even github PA mode work in this setting?