[ 
https://issues.apache.org/jira/browse/RAT-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-293:
----------------------------------
    Description: 
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
* https://www.jacoco.org/jacoco/trunk/doc/maven.html - to see test coverage 
metrics via https://github.com/apache/creadur-rat/pull/603 (required multiple 
action runs)

h2. Open issues

* 
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 on 
non-master branches
 

 

  was:
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
 

 


> 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
> * https://www.jacoco.org/jacoco/trunk/doc/maven.html - to see test coverage 
> metrics via https://github.com/apache/creadur-rat/pull/603 (required multiple 
> action runs)
> h2. Open issues
> * 
> 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 on 
> non-master branches
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to