public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kartik Ohri <[email protected]>
To: Chapman Flack <[email protected]>
Cc: [email protected]
Subject: Re: PL/Java new build plugin
Date: Wed, 22 Jul 2020 00:25:39 +0530
Message-ID: <CAASLQ4Off+PnB8FqKLokKjAkvKbW00=fjH_LxuYJOGp0_C1YAw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
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>
	<[email protected]>

>
> 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?
>

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. I left on the speculation that it is another one of ant's
dark magic. JSR-330 seems interesting but I have not been able to find
enough documentation or examples around it. Even maven plugins seem to be
using Plexus configuration years after they announced the alternative.

We could use a hack. Specify the execution id in the configuration block
also in the pom and have maven give us the id to fetch the block but then
it is equivalent to having a scriptLanguage item in the configuration
block. More, actually since we need to specify the id twice in this case. I
say we continue to work this path and tackle the issue when we face it. We
could always revert to the scriptLanguage thing if need be.


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: <CAASLQ4Off+PnB8FqKLokKjAkvKbW00=fjH_LxuYJOGp0_C1YAw@mail.gmail.com>

* 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