Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4

Merged
merged 3 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Sonar R Plugin
==============
[![Build Status](https://app.travis-ci.com/Merck/sonar-r-plugin.svg?branch=master)](https://app.travis-ci.com/Merck/sonar-r-plugin)
[![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=com.msd.gin.common.sonar:sonar-r-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.msd.gin.common.sonar:sonar-r-plugin)
[![Main branch publish](https://github.com/kmoco2am/sonar-r-plugin/actions/workflows/main.yaml/badge.svg)](https://github.com/kmoco2am/sonar-r-plugin/actions/workflows/main.yaml)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=kmoco2am_sonar-r-plugin&metric=bugs)](https://sonarcloud.io/summary/new_code?id=kmoco2am_sonar-r-plugin)

Adds support for [R language](https://www.r-project.org/) into SonarQube. Currently, it uses output from [lintr tool](https://github.com/jimhester/lintr)
which is processed by the plugin and uploaded into SonarQube server.
Expand All @@ -24,7 +24,7 @@ Extending SonarQube

Run SonarQube Locally with the Plugin
-------------------------------------
Installed **Java 11** is required to run SonarQube server.
Installed **Java 17** is required to run SonarQube server.

```bash
# build plugin and put it into SonarQube instance
Expand Down
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<sonar.sources>src/main/java</sonar.sources>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
</properties>

Expand Down Expand Up @@ -159,6 +159,9 @@
<version>${jacoco.version}</version>
<configuration>
<propertyName>surefire.argLine</propertyName>
<formats>
<format>XML</format>
</formats>
</configuration>
</plugin>
<plugin>
Expand Down