From 1bda583ea893c76bdb638f76e481c361c8747b22 Mon Sep 17 00:00:00 2001 From: Nick Dimiduk Date: Wed, 8 Dec 2021 16:15:19 -0800 Subject: [PATCH] HBASE-26549 hbaseprotoc plugin should initialize maven Trying this. There's currently no way to test a change to the personality file from a pre-commit check, so this must be committed to master or a feature branch in order to see its impact. --- dev-support/hbase-personality.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 6a5f1de9f877..d9b1cf1fa7b7 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -698,6 +698,14 @@ function hadoopcheck_rebuild # TODO if we need the protoc check, we probably need to check building all the modules that rely on hbase-protocol add_test_type hbaseprotoc +function hbaseprotoc_initialize +{ + # So long as there are inter-module dependencies on the protoc modules, we + # need to run a full `mvn install` before a patch can be tested. + yetus_debug "initializing HBase Protoc plugin." + maven_add_install hbaseprotoc +} + ## @description hbaseprotoc file filter ## @audience private ## @stability evolving