HBASE-23612 Add new profile to make hbase build success on ARM (#959)

This commit is contained in:
bzhaoopenstack 2020-01-18 07:27:44 +08:00 committed by Michael Stack
parent 9e4323171a
commit 5480493f5f
1 changed files with 14 additions and 1 deletions

15
pom.xml
View File

@ -904,7 +904,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.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
<protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
<clearOutputDirectory>false</clearOutputDirectory>
<checkStaleness>true</checkStaleness>
@ -1592,6 +1592,7 @@
<!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
property as of javadoc-plugin 3.0.0 -->
<doclint>none</doclint>
<external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
</properties>
<!-- Sorted by groups of dependencies then groupId and artifactId -->
<dependencyManagement>
@ -3820,6 +3821,18 @@
</pluginManagement>
</build>
</profile>
<profile>
<id>aarch64</id>
<properties>
<external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
</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>