public inbox for [email protected]
help / color / mirror / Atom feedFrom: Chapman Flack <[email protected]>
To: [email protected]
Subject: Is anyone hacking on PL/Java using Eclipse ?
Date: Mon, 18 May 2020 22:09:30 -0400
Message-ID: <[email protected]> (raw)
In particular, is anyone using Eclipse and relying on the
org.eclipse.m2e:lifecycle-mapping configuration in the pljava-so POM?
https://github.com/tada/pljava/blob/714e81c/pljava-so/pom.xml#L155
I can see that Thomas added it in 2013 because Eclipse had been complaining
it didn't know what to do with the nar-maven-plugin goals (or, presumably,
with the maven-antrun-plugin or properties-maven-plugin goals either).
I wonder if that stuff is still serving a purpose for anyone.
I also see that the M2Eclipse folks back in version 1.1 added a way
for plugin authors to supply that metadata with the plugin itself, by
including a META-INF/m2e/lifecycle-mapping-metadata.xml file [1].
nar-maven-plugin already includes such a file in the version we are
currently using, and properties-maven-plugin adds one in 1.0.0. Only
maven-antrun-plugin still seems to lack it.
I also see that m2e 1.7 introduced a much less obtrusive way to supply
the information in the POM if the plugin doesn't: with a <?m2e? ...?>
processing instruction [2].
So it seems to me that most of that large hunk of XML in the POM could
be dispensed with: for nar-maven-plugin (which is most of the hunk), and
for properties-maven-plugin if the version is bumped to 1.0.0. Something
might still be needed for maven-antrun-plugin but the processing instruction
might be enough.
But I am not using Eclipse, so I won't immediately know if that's going
to mess up someone else's day.
Regards,
-Chap
[1]
https://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html
[2]
https://www.eclipse.org/m2e/documentation/release-notes-17.html#new-syntax-for-specifying-lifecycle-...
view thread (2+ 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]
Subject: Re: Is anyone hacking on PL/Java using Eclipse ?
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