Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D77C6200CD6 for ; Mon, 31 Jul 2017 18:23:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D61AD165839; Mon, 31 Jul 2017 16:23:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 281D7165838 for ; Mon, 31 Jul 2017 18:23:26 +0200 (CEST) Received: (qmail 54529 invoked by uid 500); 31 Jul 2017 16:23:25 -0000 Mailing-List: contact commits-help@parquet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@parquet.apache.org Delivered-To: mailing list commits@parquet.apache.org Received: (qmail 54520 invoked by uid 99); 31 Jul 2017 16:23:25 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2017 16:23:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 25852E0202; Mon, 31 Jul 2017 16:23:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: blue@apache.org To: commits@parquet.apache.org Message-Id: <2dafdfd50bba4db0a139ac164368325b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: parquet-format git commit: PARQUET-1049: Make thrift version a property in pom.xml Date: Mon, 31 Jul 2017 16:23:25 +0000 (UTC) archived-at: Mon, 31 Jul 2017 16:23:27 -0000 Repository: parquet-format Updated Branches: refs/heads/master d2697120b -> 66452fc8b PARQUET-1049: Make thrift version a property in pom.xml Author: Zoltan Ivanfi Closes #57 from zivanfi/PARQUET-1049 and squashes the following commits: 8efc7a3 [Zoltan Ivanfi] PARQUET-1049: Make thrift version a property in pom.xml Project: http://git-wip-us.apache.org/repos/asf/parquet-format/repo Commit: http://git-wip-us.apache.org/repos/asf/parquet-format/commit/66452fc8 Tree: http://git-wip-us.apache.org/repos/asf/parquet-format/tree/66452fc8 Diff: http://git-wip-us.apache.org/repos/asf/parquet-format/diff/66452fc8 Branch: refs/heads/master Commit: 66452fc8b7be7b85d0ee04b309991b9dde2f6224 Parents: d269712 Author: Zoltan Ivanfi Authored: Mon Jul 31 09:23:20 2017 -0700 Committer: Ryan Blue Committed: Mon Jul 31 09:23:20 2017 -0700 ---------------------------------------------------------------------- pom.xml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/parquet-format/blob/66452fc8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 64368de..b7183a9 100644 --- a/pom.xml +++ b/pom.xml @@ -87,6 +87,7 @@ 1.6 shaded.parquet thrift + 0.9.3 @@ -196,8 +197,8 @@ */jdiff/*.xml .travis.yml licenses/** - thrift-0.9.3/** - thrift-0.9.3.tar.gz + thrift-${thrift.version}/** + thrift-${thrift.version}.tar.gz @@ -218,7 +219,7 @@ org.apache.thrift libthrift - 0.9.3 + ${thrift.version} junit @@ -227,4 +228,48 @@ test + + + + + + !windows + + + UnixClassOS + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + + check-thrift-version + generate-sources + + exec + + + sh + ${basedir} + + -c + ${thrift.executable} -version | fgrep 'Thrift version ${thrift.version}' && exit 0; + echo "================================================================================="; + echo "========== [FATAL] Build is configured to require Thrift version ${thrift.version} =========="; + echo -n "========== Currently installed: "; + ${thrift.executable} -version; + echo "================================================================================="; + exit 1 + + + + + + + + + +