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 1jy0mD-00072G-LW for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 22:30:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jy0mC-00033Q-E1 for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 22:30:20 +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 1jy0mC-00033J-91 for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 22:30:20 +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 1jy0mA-0000ju-4M for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 22:30:19 +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=k8P9beFvFxjpT2UL6VMF3pFUtvlMle048CqWCLCMC7M=; b=nSoMIq99siWaTsHyPqMxk6T6YG FtrUivliFBEao+s4jJBHOKY6tmvfV4W7V8mF5IWGWhrBFxIloiWsA1kmG5vXpGTNEf8L2naO8NsRT t0fT6xZEuATsGJZs7JZuEN2e89KwCchMMZDjU1G9MTsIpHSTpxY9ed7gZUzjius3b9LVJ763YbvGP IRQ2NL3fwo8cqYRGL9beTRxWgrNgYcgTUhvhtlC+1MjEyNFYReWzYFhwoYFRi623ggTKZnTUPsGsv jeilNqqJJ1Fch70aVDMSv89C4gf54qhycTdp2IIH1Ri/6yTNqnNMDLvpVBIYayKkRUnD8Z8ijfCpO r8CQJB6A==; Received: from [184.19.31.139] (port=54174) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jy0m8-00DbQs-9J; Tue, 21 Jul 2020 18:30:17 -0400 Subject: Re: PL/Java new build plugin To: Kartik Ohri References: <5F12FF49.6090906@anastigmatix.net> <5F12FF80.5020208@anastigmatix.net> <5F1338F8.6030506@anastigmatix.net> <5F135B84.8070302@anastigmatix.net> <5F14C34E.4020704@anastigmatix.net> <5F14E15A.4040202@anastigmatix.net> <5F1664C5.2070700@anastigmatix.net> <5F1735ED.6020707@anastigmatix.net> Cc: pljava-dev@lists.postgresql.org From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5F176C77.4040601@anastigmatix.net> Date: Tue, 21 Jul 2020 18:30:15 -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: 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/21/20 14:55, Kartik Ohri wrote: > I had already come across your answer in my search and figured that you > might have forgotten about it :). I have seen antrun's source. I initially > wanted to have something like it but was unable to figure out how > antrun does that. That made me curious, so I took your plugin branch and just gave the 'script' parameter the type PlexusConfiguration, and it did pretty much what I thought antrun was doing. Nothing up my sleeve. :) https://github.com/jcflack/pljava/commits/PlexusConfig I think that probably is preferable to the look-up-the-Xpp3Dom business, as it doesn't require the hardcoding of the artifact IDs or execution ID, etc. (I still wonder whether there might also be a way to get the MojoExecution injected easily rather than having to look it up. But this worked, so I stopped looking.) Is it possible that the test condition for "your engine doesn't support your mimetype" could be backwards? Regards, -Chap