HDFS-9340. libhdfspp fails to compile after HDFS-9207. Contributed by Haohui Mai.

This commit is contained in:
Haohui Mai 2015-10-29 10:12:45 -07:00 committed by James Clampffer
parent dbd1d0c75b
commit 5f1d0957b2
1 changed files with 0 additions and 49 deletions

View File

@ -174,53 +174,4 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>native</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<runningWithNative>true</runningWithNative>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>make</id>
<phase>compile</phase>
<goals><goal>run</goal></goals>
<configuration>
<target>
<mkdir dir="${project.build.directory}/native"/>
<exec executable="cmake" dir="${project.build.directory}/native" failonerror="true">
<arg line="${basedir}/src/main/native"/>
</exec>
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
</target>
</configuration>
</execution>
<execution>
<id>native_tests</id>
<phase>test</phase>
<goals><goal>run</goal></goals>
<configuration>
<skip>${skipTests}</skip>
<target>
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
<arg line="test"/>
</exec>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project> </project>