Repository: hadoop Updated Branches: refs/heads/trunk 8f97d6f2c -> 0ca50648c
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/0ca50648 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0ca50648 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0ca50648 Branch: refs/heads/trunk Commit: 0ca50648c2b1a05356ce4b0d5c3a3da5ab3a7d02 Parents: 8f97d6f Author: Vinayakumar B <vinayakum...@apache.org> Authored: Wed Oct 24 11:32:53 2018 +0530 Committer: Vinayakumar B <vinayakum...@apache.org> Committed: Wed Oct 24 11:32:53 2018 +0530 ---------------------------------------------------------------------- hadoop-project/pom.xml | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0ca50648/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