Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8P3d-0001Yx-6U for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 14:27:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k8P3b-00024c-9p for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 14:27:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8P3b-00024P-4t for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 14:27:15 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8P3Z-0006Gh-9B for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 14:27:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=E6htZ0djuLtVO4sKsol/9aiDPrkvcZUTDiidjKxcnYs=; b=K8RjrKShDGIEpj49ckELk7goKZ TKHwleFIrnzaRzvA91P6C3wB9A3yDTSC17ZwaRzmzdEhcmv3B2ZN+8DCZ2rb4kAIl4WdNwfcUWAdE 8601qEk1JAVwnPa5cUc4GGUOMPE4sbdp25u8ntxTixjXxFdqyDNnrsX2AeZAWEXKSQogK+9sEFZGp 9HBXiY4CNrNUoeZxaj8ODiuIvhetxQRpt1ZqImDpfL79O/WsivHhQodPLxkQnweyQTwd3Krfq8fVa pXXe+2CIYTgDmvsM0FdkVA0OQWInMLAL+slEAhGYgPdw5Mt2wdhFSO/8G/VmP9rckU7RwiCCap0Ct Gy6T/jBg==; Received: from [184.19.31.139] (port=41750) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k8P3X-0093GJ-J8; Wed, 19 Aug 2020 10:27:12 -0400 Subject: Re: the ReportScriptingMojo To: Kartik Ohri References: <5F2897AF.9040909@anastigmatix.net> <5F2A29E4.2000803@anastigmatix.net> <5F2EB313.8090706@anastigmatix.net> <5F2EC4F4.3080608@anastigmatix.net> <5F31EFEC.1080609@anastigmatix.net> <5F368380.9070203@anastigmatix.net> <5F368A99.6070709@anastigmatix.net> <5F36965C.60707@anastigmatix.net> <5F3A7DC6.8090905@anastigmatix.net> <5F3D32E9.80504@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F3D36BE.70703@anastigmatix.net> Date: Wed, 19 Aug 2020 10:27:10 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <5F3D32E9.80504@anastigmatix.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/19/20 10:10, Chapman Flack wrote: > That's easy! :) The nar-maven-plugin builds a jar because that's what > it does. We don't have any use for the jar it builds. I remembered it might be a little more complicated. The POM for pljava-so declares it to have nar. Maven seems to understand a certain arbitrary set of 'packaging' types, and 'nar' is one of them, and perhaps it expects a jar, or a jar and a nar, to be produced. That would be for the usual Maven picture where that jar or nar would be deployed to a central repository and declared as a dependency by other projects that would be downloading and using it. That's a picture that PL/Java just doesn't fit; you don't have any use for a pljava.so file unless you are going to put it in a PostgreSQL lib/ directory because you are installing PL/Java. I would change the pljava-so POM to say nevermind only I don't think that's one of the recognized types. It should possibly be changed to something other than nar though. I have never looked into how extensible the set of 'packaging' types is, or what would be involved in defining a new one that essentially means 'nevermind'. Regards, -Chap