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 1jy4SF-0006VN-NG for pljava-dev@arkaria.postgresql.org; Wed, 22 Jul 2020 02:25:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jy4SE-0007Xi-La for pljava-dev@arkaria.postgresql.org; Wed, 22 Jul 2020 02:25:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jy4SE-0007Xb-EY for pljava-dev@lists.postgresql.org; Wed, 22 Jul 2020 02:25:58 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jy4S7-0006Mc-Hm for pljava-dev@lists.postgresql.org; Wed, 22 Jul 2020 02:25:57 +0000 Received: by mail-ed1-x52d.google.com with SMTP id a8so501826edy.1 for ; Tue, 21 Jul 2020 19:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VqnoRXUjomeW8Ef9XMtO7/tX/q+nGX6pJMvHoYp/c9k=; b=gi9YqMB3Df92GLNN2/Xevk5phAIQPRC10d8zUx4PHoAKCTSvYT85sqMOWaoj3GGnhH rq9E2ntRoFAVvV9MpqDyWQ5ahjGEdNMc9rZxElR6KmMs7x/IDOq3dfjpnsR3EF5AXVs1 jRZDZlBaH2JxM/gJrXv/FJWbfyc9s8aqD9NtGpvp2iNwwHeYBnnvDjK7Pvw/OSbh6LNr DbqQW7IW/+3o0aCavMgTK8O6H3MssXSzDZNTbYsRMpLKOAamPUlDoqZb+nSEA7Bva6fi Q39hcTihjCQ/2gPsHsVdnuGbkLAzmx/E5BppltAE2BZkrb5VNdLVCtdRV/0s4KQGMuEK APCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VqnoRXUjomeW8Ef9XMtO7/tX/q+nGX6pJMvHoYp/c9k=; b=XgoCDpNOO8BshgNQyYnRP6fb1Bn7eFq3L94ibfYnnm39kcqgNbhTaaXF7QShtdY1Dv KFLksd4Cc93V4BN7FMkEVTt6AnPKeXhIpCchr92c9IWoUp6CouynnXSfP/V3vnAdt2yE YJc+Xm312+WQaFdwvePErX7vG1cK28ZmFN27a+zyJyJXejR7VkqIhyaEX923fmwDQcaO um5oBh5X7tPodh4bLfcpc95V5gF0I4e6XupqgpAx4aw1Ju4NFU0ihdDJA/WFiZn8NB3q E+O1HvWAIf3Kveo8snf7kM4oz92j38a/qSWRZjCISu7Ne4ZqXrgFaT9Ar+UfvmI9qEv6 A48Q== X-Gm-Message-State: AOAM533if5S0WYKTWzlB3M93XHce38tvpLzYF58Hpdrb2AXGQ2qok4pl BrN3PEr076UAd80ReD9me+lj3HyaJ6SlUNIUiuc= X-Google-Smtp-Source: ABdhPJypiLIQIA1ykSQUi/BfcP7xhg5ozbXJ81gKRiKLXfMDFfr/TyvQN7/G2ARk9aSqNaxJuD4+OsBpYlMwsskca/0= X-Received: by 2002:a05:6402:1a54:: with SMTP id bf20mr28978366edb.69.1595384750219; Tue, 21 Jul 2020 19:25:50 -0700 (PDT) MIME-Version: 1.0 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> <5F176C77.4040601@anastigmatix.net> In-Reply-To: <5F176C77.4040601@anastigmatix.net> From: Kartik Ohri Date: Wed, 22 Jul 2020 07:55:38 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000051267505aafe7583" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000051267505aafe7583 Content-Type: text/plain; charset="UTF-8" > > 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.) > Since, the PlexusConfiguration thing worked, I tried @Component MojoExecution execution; which worked. This seems to be what JSR-330 aimed at. If only the maven plugin docs were more friendly. --00000000000051267505aafe7583 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think that probably is preferable to the look-up-the-X= pp3Dom business,
as it doesn't require the hardcoding of the artifact IDs or execution I= D,
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.)
Since, the=C2=A0 Plexus= Configuration thing worked, I tried
@Component
Mojo= Execution execution;
which worked. This seems to be what JSR-330 = aimed at. If only the maven plugin docs were more friendly.
--00000000000051267505aafe7583--