public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chapman Flack <[email protected]>
To: Kartik Ohri <[email protected]>
Cc: [email protected]
Subject: Re: the ReportScriptingMojo
Date: Wed, 19 Aug 2020 10:27:10 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAASLQ4Mva7dAXiS_c9OLhV4VzNHF=XNKJosuS5gtZTB6b4TW1Q@mail.gmail.com>
	<[email protected]>
	<CAASLQ4MLFnD3v_fqrUj+Bwc9MSBG-ATet3J7UXebzXHTH_si3A@mail.gmail.com>
	<[email protected]>
	<CAASLQ4O5Wfk1hH6nO_1PDUbRcpUywvTxq7e99aCJ4RPeMmssAw@mail.gmail.com>
	<[email protected]>
	<CAASLQ4M0uvNj0EyMWWNsizT1KtnWx0WFbk89ud9EVHZbu12LMg@mail.gmail.com>
	<[email protected]>
	<CAASLQ4M3pR+ZL+uPvcQ-dAEL2KdH_PGe-_pBhsjvOgN5qvf+aA@mail.gmail.com>
	<[email protected]>
	<CAASLQ4NU9v=nuLDG-LneC68LuqKRXchFckU7mCZT9YQDNKqwvg@mail.gmail.com>
	<[email protected]>
	<CAASLQ4NgH+tXbdUSA8xDh2ct3gAS3xa8V7=E0gcYd+d=m8kujw@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<CAASLQ4PEgo5Nj0EVsOfGoB96dQFXfFYxrrB0rS1wdad7x_E5fA@mail.gmail.com>
	<CAASLQ4OowXOmnbbbT0Wh1ZkB4h=6JQfC61ojmN07EYnO0QCcow@mail.gmail.com>
	<[email protected]>

On 08/19/20 10:10, Chapman Flack wrote:
> That's easy! :) The nar-maven-plugin builds a jar because that's what
> it does. We don't have any use for the jar it builds.

I remembered it might be a little more complicated. The POM for
pljava-so declares it to have <packaging>nar</packaging>. Maven seems
to understand a certain arbitrary set of 'packaging' types, and 'nar'
is one of them, and perhaps it expects a jar, or a jar and a nar, to
be produced.

That would be for the usual Maven picture where that jar or nar would
be deployed to a central repository and declared as a dependency by
other projects that would be downloading and using it.

That's a picture that PL/Java just doesn't fit; you don't have any
use for a pljava.so file unless you are going to put it in a PostgreSQL
lib/ directory because you are installing PL/Java.

I would change the pljava-so POM to say <packaging>nevermind</packaging>
only I don't think that's one of the recognized types. It should possibly
be changed to something other than nar though.

I have never looked into how extensible the set of 'packaging' types
is, or what would be involved in defining a new one that essentially
means 'nevermind'.

Regards,
-Chap





view thread (78+ 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: the ReportScriptingMojo
  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