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 1jxJPl-0000Rb-NI for pljava-dev@arkaria.postgresql.org; Mon, 20 Jul 2020 00:12: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 1jxJPk-00015T-9t for pljava-dev@arkaria.postgresql.org; Mon, 20 Jul 2020 00:12:16 +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 1jxJPk-00015M-52 for pljava-dev@lists.postgresql.org; Mon, 20 Jul 2020 00:12:16 +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 1jxJPh-0008G6-5v for pljava-dev@lists.postgresql.org; Mon, 20 Jul 2020 00:12:15 +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=VIg9zoiC3+q8+VMxLWAfcplmz2XA6S8RD+lr2sU6YEE=; b=J7WYcKhRcpwbUXEwwb7GjRb3XD xrqnkVuY+VA9yKTTdJZx9xNve9E6XbU95tBVRDxx7DR/vLrHL5F2na+u3Rk6s16sdPtnVhHWqvUY2 91nJei8bjZMTCim+3384m93Ah92uozzDxmQW+DXq3FElw7OS5Z+hCcjkFh4txZSu+WT6VRkUrNv6q R4kkmi1G061dCPAEH9DepdrzbiDM7S4bUaZcr4c3tNvwWP48s8UAU85aDyvLnGN2TeNfWKy0Pi60s Wh7uaPKVvkHKLqzYdL9zLgBLxANE9jLXabnRikkEpj12apSg/3X8+u6etlQAdHJXythsKrGwA0bKW UP6A1kLQ==; Received: from [184.19.31.139] (port=49887) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jxJPf-00Fxw3-33; Sun, 19 Jul 2020 20:12:11 -0400 Subject: Re: PL/Java new build plugin To: Kartik Ohri References: <5F0D35BA.30904@anastigmatix.net> <5F0E3972.5070609@anastigmatix.net> <5F0F2DA2.5090603@anastigmatix.net> <5F12FF49.6090906@anastigmatix.net> <5F12FF80.5020208@anastigmatix.net> <5F1338F8.6030506@anastigmatix.net> <5F135B84.8070302@anastigmatix.net> <5F14C34E.4020704@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F14E15A.4040202@anastigmatix.net> Date: Sun, 19 Jul 2020 20:12: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: <5F14C34E.4020704@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 07/19/20 18:03, Chapman Flack wrote: > To test with Graal, you can (1) do a build with Java 15 and see that > it breaks because Nashorn is gone :), and then (2) merge the > chore/master/denashorn branch and edit the main (parent) pom.xml, and > change the nashorngone profile so the two graal jars are added as > dependencies of org.postgresql:pljava-pgxs instead of maven-antrun-plugin. I meant to ask also: is it possible for the plugin configuration's or I have noticed that Maven configurations tend not to use attributes much, and instead make everything its own element, like nashorn but I have not checked whether Maven is actually incapable of using attributes in configs, or that has just been a common style among existing plugins. I would find the style with an attribute to be more compact and clear. Regards, -Chap