e322e0a05f
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1434530 13f79535-47bb-0310-9956-ffa450edef68
112 lines
3.7 KiB
XML
112 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License. See accompanying LICENSE file.
|
|
-->
|
|
<project>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-project</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
</parent>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-pipes</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
<description>Apache Hadoop Pipes</description>
|
|
<name>Apache Hadoop Pipes</name>
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>native</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<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/ -DJVM_ARCH_DATA_MODEL=${sun.arch.data.model}"/>
|
|
</exec>
|
|
<exec executable="make" dir="${project.build.directory}/native" failonerror="true">
|
|
<arg line="VERBOSE=1"/>
|
|
</exec>
|
|
<!-- The second make is a workaround for HADOOP-9215. It can
|
|
be removed when version 2.6 of cmake is no longer supported . -->
|
|
<exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<!-- TODO wire here native testcases
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<destDir>${project.build.directory}/native/target</destDir>
|
|
</configuration>
|
|
</execution>
|
|
-->
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<!--
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<mkdir dir="${basedir}/../target/native"/>
|
|
<copy toDir="${basedir}/../target/native">
|
|
<fileset dir="${basedir}/src/main/native"/>
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
-->
|
|
</project>
|