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 1jxwcG-000610-66 for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 18:03:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jxwcF-0007Jt-65 for pljava-dev@arkaria.postgresql.org; Tue, 21 Jul 2020 18:03:47 +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 1jxwcE-0007Jm-V5 for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 18:03:47 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jxwcC-000702-Uj for pljava-dev@lists.postgresql.org; Tue, 21 Jul 2020 18:03:45 +0000 Received: by mail-ed1-x52a.google.com with SMTP id d16so15887645edz.12 for ; Tue, 21 Jul 2020 11:03:44 -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=WvrFOZJBfBs/bppu4uXY4StUy9M9QkjKLyEbnFGbvVI=; b=HykDEmbz/mgp5PnzY40p8tUWS39v8CDFrMCtFdk/20tkLqvBQV8bm8IJBxAxCla7op 1NlpXK2sv0qqa+/2TnHnJkppkC/CslF90e7OuY9vrEd0WjtT0+bXZG3CHdfGsxPrU5tQ Ib1XjDrXu4RMC4LmRaeogW3x4hAYp/6YNOkr4xP5pf/xIZIl47EElgy9nAHJ90RIr8Fw L6a2eHlhVevQ93YyHDeXnVs+RpaF13rOoDFB+coM/7lDvocoIEBILQPe1QTQoMo4R/K2 NxH/BFA8mmv/tiXGvZtDm+nLmkB6+cFCKjnabYw7b6v7kT9C8pFKRkHWbOmQa6NhNdhu sp6g== 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=WvrFOZJBfBs/bppu4uXY4StUy9M9QkjKLyEbnFGbvVI=; b=byLD8cx0Bm9GOesEypFc5hfU4Jb4jvYquJZNRUUBzn2kLkCSdt8MyLcUlZd2PGGzcT HT7I5dYeVbrRLLbSE9xRe56MBfeUuPXmt5mij5pJETk9ev2+9/KWFZkHUzX4OYHDDsW4 cOR19YI1/3Ns+GMSK1eGuST31MWZOU93guKjfUEH3OdhbJJtZ7sNQAlbKGyQrgLBxUjh 6D6Orvk12zAWVCGEF0IsXKTZnOd5AQ6/hcwX+1Dk1whb6oEuUl7xmVAbBbk0ZaFfKJ3Q SrpfrQXlRqeSikifJ2b3qjXjRlmaSC95P8e51iQdXAW2QE2xYdLE7nXaMsqUr1SOSf15 davA== X-Gm-Message-State: AOAM531Y/9sjmzCegEo1MaJzfa8e7aMoRixiYb69buiWIuqx/rfbZQBT MFyBU63ych9qqa11ydmuD86bADj2+g6bPfycjTw= X-Google-Smtp-Source: ABdhPJyYAhYbvsvZJh7niLFs0nYIZHriNMb4I0OLkB0Y0ZixBOZcZh2Xe+X8Ui8zktNvSVFNj1YJCszjFc1SVXBETEM= X-Received: by 2002:aa7:c4d8:: with SMTP id p24mr26333639edr.323.1595354621940; Tue, 21 Jul 2020 11:03:41 -0700 (PDT) MIME-Version: 1.0 References: <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> <5F14E15A.4040202@anastigmatix.net> <5F1664C5.2070700@anastigmatix.net> In-Reply-To: <5F1664C5.2070700@anastigmatix.net> From: Kartik Ohri Date: Tue, 21 Jul 2020 23:33:30 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000088164605aaf7710d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000088164605aaf7710d Content-Type: text/plain; charset="UTF-8" > > It is possible to have this syntax. We need to specify an executionID in > > the executionBlock for that. In the plugin, we can get the entire > > configuration XML as a Plexus Xpp3Dom object from which we can retrieve > the > > attribute from any element. I'll add this. What attribute should be used > > though mimetype or engine or allow both and give engine precedence over > > mimetype ? > There is one caveat though. This means we need to hard code the executionID in the mojo. It might be problematic when we specify multiple execution blocks for different phases. But I am not sure how that works, is a new Mojo instance initiated for each execution if there are multiple ones since each execution block has its own configuration block? --00000000000088164605aaf7710d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> It is possible to have this = syntax. We need to specify an executionID in
> the executionBlock for that. In the plugin, we can get the entire
> configuration XML as a Plexus Xpp3Dom object from which we can retriev= e the
> attribute from any element. I'll add this. What attribute should b= e used
> though mimetype or engine or allow both and give engine precedence ove= r
> mimetype ?
There is one caveat though. This means= we need to hard code the executionID in the mojo. It might be problematic = when we specify multiple execution blocks for different phases. But I am no= t sure how that works, is a new Mojo instance initiated for each execution = if there are multiple ones since each execution block has its own configura= tion block?
--00000000000088164605aaf7710d--