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 1k8PUD-0002qE-7r for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 14:54:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k8PUC-0007fP-78 for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 14:54:44 +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 1k8PUC-0007fH-2G for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 14:54:44 +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 1k8PUA-0006UO-5x for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 14:54:43 +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=8UBbEZd5/vcqSswTllQgjt2zAswKTp6KNWlTNQZhYus=; b=d/6nAruktnlBR8NDbFQoi4F5PB g5lDzVbSxVfcdjKgAQvmjnbNc889sL/aIOlM0nS8u074tZ9KX03Sz5bH3ofzG1reBcsTNZC02qImo vn6p5Hha+B8tUhsgo9moHxU5qfNcKCKKCirE0waK7kBh4GLXAqRi0ign5zZ+Jbk8dMYOkVSiLVcpa 3kuuizh43KrFbDhhCPrpysJTIidUbNbb4V8nvwAFUY9fiGL+Sxd0X66OSym+gvbzp/NbG6oJpOh3U u+tHLL/u70LSfZcTJyy+gAtAnLLR96llVDaqt1+U0hn/9KmrHNiMnhl7qA8ygaWemqTRvNp38urXW +ebhH2yg==; Received: from [184.19.31.139] (port=41846) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k8PU7-009OKM-29; Wed, 19 Aug 2020 10:54:39 -0400 Subject: Re: the ReportScriptingMojo To: Kartik Ohri References: <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> <5F3D36BE.70703@anastigmatix.net> <5F3D38F8.7050907@anastigmatix.net> <5F3D3A75.5010304@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F3D3D2E.4070109@anastigmatix.net> Date: Wed, 19 Aug 2020 10:54:38 -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: <5F3D3A75.5010304@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:43, Chapman Flack wrote: > ...META-INF/plexus/components.xml I think my inclination would be to supply such a file with the role-hint of 'pgxs', and mapping every phase to empty. Then what the plugin does will be completely determined by what script s you configure, and what phases you put them in. Then the packaging type of pljava-so could be pgxs, and you would simply specify the for each in the pom (as is already done for the set-properties execution). So, what the plugin does will be completely determined by what script s you configure, and what phases you put them in. I think I would also change ScriptingMojo to declare COMPILE as its default phase. The set-properties execution would still specify initialize as its phase, as it does now, but I think the usual behavior is if a phase isn't specified, it will be compile. Regards, -Chap