public inbox for [email protected]
help / color / mirror / Atom feedFrom: Chapman Flack <[email protected]>
To: Kartik Ohri <[email protected]>
Cc: [email protected]
Subject: Re: PL/Java new build plugin
Date: Tue, 21 Jul 2020 14:37:33 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAASLQ4PeivyN6DkBPbgYTZmoqoOVdCDwinDFrREsXqZi2HQnWg@mail.gmail.com>
References: <CAASLQ4Mva7dAXiS_c9OLhV4VzNHF=XNKJosuS5gtZTB6b4TW1Q@mail.gmail.com>
<[email protected]>
<CAASLQ4N40xn-0S4Nsy0Ld75=Ny719MPUE7_aRP_5nAcAqkAqoQ@mail.gmail.com>
<CAASLQ4OiWCQQwYFnxAQBe2dC6Ms803RjCMX-9AC2=1m0ZzeDhA@mail.gmail.com>
<[email protected]>
<[email protected]>
<CAASLQ4MqSVnhK_GMgq03HcmOKk7a-v7b4L0yfPbtRO=mpqoQtA@mail.gmail.com>
<[email protected]>
<CAASLQ4OR8ZD4GRNHVGuTzJp_UP-PAcADxcz=uymiSFPpg8EEHQ@mail.gmail.com>
<[email protected]>
<CAASLQ4O=tYGASWB6F+PTiB2L3RbmHcVX8XAbKHyhwBDOodH1zg@mail.gmail.com>
<CAASLQ4P=c42e342-1YTTCBxA=CKBH2m=DLJN+ZQb5EJW6MyofQ@mail.gmail.com>
<CAASLQ4NU3BgfCnVxvAbu9vK9+gtPT87xX1uBj57b0y2J6nxi+Q@mail.gmail.com>
<[email protected]>
<[email protected]>
<CAASLQ4PjzGVCj559r60Kw7i3uRUTzJraxBSDDsNtAt8v8_-oWQ@mail.gmail.com>
<[email protected]>
<CAASLQ4PeivyN6DkBPbgYTZmoqoOVdCDwinDFrREsXqZi2HQnWg@mail.gmail.com>
On 07/21/20 14:03, Kartik Ohri wrote:
>>> 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?
Hmm. That does sound worrisome. And I don't, at present, know the answer
on instantiation; I would assume different executions are distinct instances.
I have just had one of those déjà vu moments of thinking "wait, haven't
I wondered about this before?" and it seems I did, five years ago (which
I guess is long enough to forget).
https://stackoverflow.com/a/32800814/4062350
Is it possible to declare the script parameter as a PlexusConfiguration?
Does that lead anywhere useful?
Regards,
-Chap
view thread (132+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: PL/Java new build plugin
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox