vinayakumarb commented on a change in pull request #2026: URL: https://github.com/apache/hadoop/pull/2026#discussion_r436451465
########## File path: hadoop-common-project/hadoop-common/pom.xml ########## @@ -1015,7 +1031,81 @@ </plugins> </build> </profile> - + <!-- profile to use already generated protobuf code using 2.5.0 for aarch64--> + <profile> + <id>aarch64</id> + <activation> + <activeByDefault>false</activeByDefault> + <os> + <family>linux</family> + <arch>aarch64</arch> + </os> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-source-legacy-protobuf</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${basedir}/src/main/arm-java</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <!-- profile to generate protobuf code using 2.5.0--> + <profile> + <id>x86_64</id> + <activation> + <activeByDefault>false</activeByDefault> + <os> + <family>linux</family> + <arch>amd64</arch> Review comment: Updated the same. Thanks ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org