HADOOP-15856. Trunk build fails to compile native on Windows. Contributed by Vinayakumar B.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/602d6f13 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/602d6f13 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/602d6f13 Branch: refs/heads/HDFS-13891 Commit: 602d6f1396aebd5081a6937b391c453572818485 Parents: 3e39f4f Author: Vinayakumar B <vinayakum...@apache.org> Authored: Wed Oct 24 11:32:53 2018 +0530 Committer: Brahma Reddy Battula <bra...@apache.org> Committed: Tue Oct 30 11:31:17 2018 +0530 ---------------------------------------------------------------------- hadoop-project/pom.xml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/602d6f13/hadoop-project/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 3a44e8c..d5aee4b 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -1654,6 +1654,11 @@ <source>${javac.version}</source> <target>${javac.version}</target> <useIncrementalCompilation>false</useIncrementalCompilation> + <!-- add flags to generate native headers --> + <compilerArgs combine.children="append"> + <arg>-h</arg> + <arg>${project.build.directory}/native/javah/</arg> + </compilerArgs> </configuration> </plugin> <plugin> @@ -2120,27 +2125,6 @@ </dependencies> </dependencyManagement> </profile> - <profile> - <id>native</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <!-- add flags to generate native headers --> - <compilerArgs combine.children="append"> - <arg>-h</arg> - <arg>${project.build.directory}/native/javah/</arg> - </compilerArgs> - </configuration> - </plugin> - </plugins> - </build> - </profile> </profiles> <repositories> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org