From 47ebff25c379b9162943121a49278553967f2dfe Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Wed, 16 Jan 2019 14:19:36 +0100 Subject: SONAR-11631 replace Component.version by Metadata.projectVersion in scanner report --- sonar-scanner-protocol/src/main/protobuf/scanner_report.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sonar-scanner-protocol/src/main') diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto index 92e917a65f1..9c7812eea02 100644 --- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto +++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto @@ -49,6 +49,8 @@ message Metadata { string pull_request_key = 14; map modules_project_relative_path_by_key = 15; + string projectVersion = 16; + message QProfile { string key = 1; string name = 2; @@ -108,7 +110,7 @@ message Component { string language = 6; repeated int32 child_ref = 7 [packed = true]; repeated ComponentLink link = 8; - // Only available on PROJECT and MODULE types + // FIXME SONAR-11631 delete this property after deployment on SC of metadata.projectVersion string version = 9; // Only available on PROJECT and MODULE types // TODO rename this property -> moduleKey ? @@ -121,7 +123,7 @@ message Component { // Path relative to project base directory string project_relative_path = 14; - + enum ComponentType { UNSET = 0; PROJECT = 1; -- cgit v1.2.3