From dev-return-52759-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Mon Jul 2 23:27:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7F3E0180626 for ; Mon, 2 Jul 2018 23:27:03 +0200 (CEST) Received: (qmail 14266 invoked by uid 500); 2 Jul 2018 21:27:02 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 14254 invoked by uid 99); 2 Jul 2018 21:27:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2018 21:27:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F1F3B185799 for ; Mon, 2 Jul 2018 21:27:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hHktDqA1Cesu for ; Mon, 2 Jul 2018 21:27:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DA69D5F3F0 for ; Mon, 2 Jul 2018 21:27:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7AC87E0E28 for ; Mon, 2 Jul 2018 21:27:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4114121842 for ; Mon, 2 Jul 2018 21:27:00 +0000 (UTC) Date: Mon, 2 Jul 2018 21:27:00 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (PHOENIX-4781) Phoenix client project's jar naming convention causes maven-deploy-plugin to fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-4781?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell reassigned PHOENIX-4781: --------------------------------------- Assignee: Karan Mehta > Phoenix client project's jar naming convention causes maven-deploy-plugin= to fail > -------------------------------------------------------------------------= -------- > > Key: PHOENIX-4781 > URL: https://issues.apache.org/jira/browse/PHOENIX-4781 > Project: Phoenix > Issue Type: Improvement > Reporter: Karan Mehta > Assignee: Karan Mehta > Priority: Major > Attachments: PHOENIX-4781.001.patch, PHOENIX-4781.002.patch > > > `maven-deploy-plugin` is used for deploying built artifacts to repository= provided by `distributionManagement` tag.=C2=A0The name of files that need= to be uploaded are either derived from pom file of the project or it gener= ates an temporary one on its own. > For `phoenix-client` project, we essentially create a shaded uber jar tha= t contains all dependencies and provide the project pom file for the plugin= to work. `maven-jar-plugin` is disabled for the project, hence the shade p= lugin essentially packages the jar. The final name of the shaded jar is def= ined as `phoenix-${project.version}\-client`, which is different from how t= he standard maven convention based on pom file (artifact and group id) is `= phoenix-client-${project.version}` > This causes `maven-deploy-plugin` to fail since it is unable to find any = artifacts to be published. > `maven-install-plugin` works correctly and hence it installs correct jar = in local repo. > The same is effective for `phoenix-pig` project as well. However we requi= re the require jar for that project in the repo. I am not even sure why we = create shaded jar for that project. > I will put up a 3 liner patch for the same. > Any thoughts? [~sergey.soldatov] [~elserj] > Files before change (first col is size): > {code:java} > 103487701 Jun 13 22:47 phoenix-4.14.0-HBase-1.3-sfdc-1.0.14-SNAPSHOT-clie= nt.jar{code} > Files=C2=A0after change (first col is size): > {code:java} > 3640 Jun 13 21:23 original-phoenix-client-4.14.0-HBase-1.3-sfdc-1.0.14-SN= APSHOT.jar > 103487702 Jun 13 21:24 phoenix-client-4.14.0-HBase-1.3-sfdc-1.0.14-SNAPSH= OT.jar{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)