diff --git a/DOC.md b/DOC.md index b21b14ec..00a09b27 100644 --- a/DOC.md +++ b/DOC.md @@ -77,5 +77,6 @@ This Community Rust plugin doesn't run your tests or generate tests reports for Currently, only `junit report` formats are supported : -Insert a parameter `sonar.rust.test.reportPath` into you `sonar-project.properties` file. As an example, one of such tool +Insert a parameter `community.rust.test.reportPath` into you `sonar-project.properties` file. As an example, one of such tool + for Rust than converts `cargo test` report to `junit report` is [cargo2junit](https://crates.io/crates/cargo2junit). \ No newline at end of file diff --git a/README.md b/README.md index 0cf9e0f3..5b17e9ae 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ set analysis parameter `community.rust.clippy.reportPaths=` * Optionally import tests measures (`junit` report) -use `sonar.rust.test.reportPath` +use `community.rust.test.reportPath` * Optionally import coverage measures diff --git a/community-rust-plugin/src/main/java/org/elegoff/plugins/communityrust/xunit/XUnitSensor.java b/community-rust-plugin/src/main/java/org/elegoff/plugins/communityrust/xunit/XUnitSensor.java index bf900cb4..9c42db7b 100644 --- a/community-rust-plugin/src/main/java/org/elegoff/plugins/communityrust/xunit/XUnitSensor.java +++ b/community-rust-plugin/src/main/java/org/elegoff/plugins/communityrust/xunit/XUnitSensor.java @@ -40,7 +40,7 @@ public class XUnitSensor implements Sensor { - public static final String REPORT_PATH_KEY = "sonar.rust.test.reportPath"; + public static final String REPORT_PATH_KEY = "community.rust.test.reportPath"; public static final String DEFAULT_REPORT_PATH = "rust-test.xml"; private static final Logger LOG = Loggers.get(XUnitSensor.class); diff --git a/pom.xml b/pom.xml index 5fb54687..ef5f2170 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ thibaultfalque Thibault Falque - thibault.falque@gmail.com + thibault.falque@exakis-nelite.com