From d61e844c20ca3d9c2dd26782829a3e7a8b6f5b1d Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Tue, 7 Jul 2015 11:00:28 -0700 Subject: [PATCH] HDFS-8723. Integrate the build infrastructure with hdfs-client. Contributed by Haohui Mai. --- .../hadoop-hdfs-client/pom.xml | 36 +++++++++++++++++++ .../src/main/native/CMakeLists.txt | 19 ++++++++++ 2 files changed, 55 insertions(+) create mode 100644 hadoop-hdfs-project/hadoop-hdfs-client/src/main/native/CMakeLists.txt diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml index a5ed7a376e..cc46cba654 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs-client/pom.xml @@ -174,4 +174,40 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + + + native + + false + + + true + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + make + compile + run + + + + + + + + + + + + + + + + diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/native/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/native/CMakeLists.txt new file mode 100644 index 0000000000..86f8abc4bb --- /dev/null +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/native/CMakeLists.txt @@ -0,0 +1,19 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +cmake_minimum_required(VERSION 2.8 FATAL_ERROR)