From 7fb4ae00fc9915a1377b46f558fde655805153f6 Mon Sep 17 00:00:00 2001 From: Janos Gyerik Date: Fri, 1 Dec 2017 12:01:27 +0100 Subject: SONAR-10125 Add project relative path for all components --- sonar-scanner-protocol/src/main/protobuf/scanner_report.proto | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sonar-scanner-protocol') diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto index e939fa8855e..75f915b9501 100644 --- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto +++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto @@ -94,6 +94,8 @@ message ComponentLink { message Component { int32 ref = 1; + + // Path relative to module base directory string path = 2; string name = 3; ComponentType type = 4; @@ -111,6 +113,9 @@ message Component { // Only available on PROJECT and MODULE types string description = 12; FileStatus status = 13; + + // Path relative to project base directory + string project_relative_path = 14; enum ComponentType { UNSET = 0; -- cgit v1.2.3