HBASE-26470 Use openlabtesting protoc on linux arm64 in HBASE 2.x (#3860)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
markjens 2021-11-22 17:13:27 +02:00 committed by GitHub
parent 4312f817f3
commit ad0ed956c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

17
pom.xml
View File

@ -789,7 +789,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf.plugin.version}</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
<protocArtifact>${external.protobuf.groupid}:protoc:${external.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
<protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
<clearOutputDirectory>false</clearOutputDirectory>
<checkStaleness>true</checkStaleness>
@ -1488,7 +1488,9 @@
<log4j.version>1.2.17</log4j.version>
<mockito-core.version>2.28.2</mockito-core.version>
<!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
<external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
<external.protobuf.version>2.5.0</external.protobuf.version>
<external.protoc.version>${external.protobuf.version}</external.protoc.version>
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
<thrift.path>thrift</thrift.path>
<thrift.version>0.14.1</thrift.version>
@ -4127,6 +4129,19 @@
</pluginManagement>
</build>
</profile>
<profile>
<id>aarch64</id>
<properties>
<external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
<external.protoc.version>2.5.0.2</external.protoc.version>
</properties>
<activation>
<os>
<family>linux</family>
<arch>aarch64</arch>
</os>
</activation>
</profile>
</profiles>
<!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
<reporting>