[
https://issues.apache.org/jira/browse/RAT-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18050045#comment-18050045
]
ASF subversion and git services commented on RAT-293:
-----------------------------------------------------
Commit d6de929e7c8f6a5f8b45ac7927e3f8ed0f3ba7db in creadur-rat's branch
refs/heads/master from P. Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=d6de929e ]
RAT-293: Generate coverage report via SonarCloud (#603)
* RAT-293: Generate a coverage report via SonarCloud
* RAT-293: Update dependencies in SonarCloud action workflow
* RAT-293: Enable code coverage with jacoco
* RAT-293: Cleanup config in reporting section and pluginManagement section
> Configure SonarCloud integration for RAT
> ----------------------------------------
>
> Key: RAT-293
> URL: https://issues.apache.org/jira/browse/RAT-293
> Project: Apache RAT
> Issue Type: Task
> Reporter: Philipp Ottlinger
> Assignee: Philipp Ottlinger
> Priority: Major
> Fix For: 0.18
>
>
> Configure repo to be included in
> [https://sonarcloud.io/organizations/apache/projects]
> Requested access via INFRA-22683.
> [https://cwiki.apache.org/confluence/display/INFRA/SonarQube+Analysis]
> h2. DevHint
> This task cannot be accomplished as the sonarcloud integration is >JDK8 and
> fails the animal-sniffer-plugin configured to only allow JDK8 contents in RAT!
> h2. What happened here
> * Configuration done via PR#33
> * INFRA created the projects and made [~pottlinger] me admin
> * Authorization happened via logging in via github at
> [https://sonarcloud.io/summary/overall?id=apache_creadur-rat&branch=master]
> ** Set SONAR_TOKEN as repo secret (generated by SonarCloud)
> ** Add new build script sonarcloud.yml
> * Set maven-sonar-plugin-version in pom.xml
> * Add SONAR_TOKEN to mvn call during analysis to fix authentication failures
> on GHA; explicit parameter is necessary, but sonar.login is deprecated, use
> sonar.token instead
> * Add badge to project readme
> h2. TODOs
> * https://www.jacoco.org/jacoco/trunk/doc/maven.html - to see test coverage
> metrics via https://github.com/apache/creadur-rat/pull/603
> *
> https://community.sonarsource.com/t/sonarcloud-analysis-on-master-branch-results-in-broken-builds-on-all-other-prs-on-github/172249
> - all PR builds are broken due to a problem within the SonarCloud build
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)