HADOOP-15856. Trunk build fails to compile native on Windows. Contributed by Vinayakumar B.
This commit is contained in:
parent
8f97d6f2cd
commit
0ca50648c2
@ -1654,6 +1654,11 @@
|
|||||||
<source>${javac.version}</source>
|
<source>${javac.version}</source>
|
||||||
<target>${javac.version}</target>
|
<target>${javac.version}</target>
|
||||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
<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>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -2120,27 +2125,6 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
</profile>
|
</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>
|
</profiles>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
Loading…
Reference in New Issue
Block a user