Well, no extension works, since they are not loaded. I'll try the
Pipeline Maven Plugin ... since it runs plain Maven, it should work fine.
On 1/27/2025 6:20 PM, Olivier Lamy wrote:
Bear in mind that installed doesn't mean used. (there are no figures
for this)
This plugin was part of the default installation a few ago, so I
imagine users never removed it.
If you look at the details of the changes, you will see that it's
minimum maintenance.
Anyway, if your extension doesn't work with this plugin, I recommend
that you don't waste your time on it.
On Tue, 28 Jan 2025 at 08:27, Adrian Tarau <adr...@tarau.net> wrote:
It seems to be updated and widely used :)
Anyway, I do not think I installed this plugin ... maybe I did ...
I'll try the other one, which should work since it delegates to
the standard Apache Maven.
On 1/27/2025 3:57 PM, Olivier Lamy wrote:
Hi
You are using the old Jenkins maven-plugin which is totally
deprecated and not really maintained anymore (dependabot is not a
real human maintenance),
Please use this plugin
https://github.com/jenkinsci/pipeline-maven-plugin
cheers
Olivier
On Mon, 27 Jan 2025 at 23:01, Adrian Tarau <adr...@tarau.net> wrote:
Well, it looks like Jenkins does not handle (well) extensions
located in /$PROJECT_HOME/.mvn/extensions.xml/ ... and they
blame Maven for that :)
https://issues.jenkins.io/browse/JENKINS-30058 One workaround
is to have the extension in the /pom.xml/ even if some events
will be lost since the extension is loaded later on.
With /mvnd /works but the tool re-displays the extension
output once again, at the end, tagged with "stdout" between
the level and the message. I'll have to ask them how is this
possible :)
On 1/24/2025 5:42 PM, Benjamin Marwell wrote:
Nice design of the output!
Have you tested the extension in an CI environment? That might be
useful,
especially combined with mvnd or mvn -T...
- Ben
On Thu, 23 Jan 2025, 16:25 Adrian Tarau,<adr...@tarau.net>
<mailto:adr...@tarau.net> wrote:
Hello everybody,
I'm building a Maven extension to change the behavior of Maven while
building, to scratch an itch had had for many years now. If others have
this itch and this helps with that itch, that would be even better :)
An overview of the extensions, it's goals and future plans (full HTML
report with build info and partially/full performance metrics scraped
with /async-profiler/) is available in the project home page:
https://github.com/adrian-tarau/maven?tab=readme-ov-file#extension. More
or less, I would like to bring what /Gradle /has today to Maven world
(when all features will be implemented).
It would be nice if I would get some feedback from developers before
asking for a review on the user mailing list.
Thanks,
Adrian Tarau.
PS. I've posted the same email before I was registered and since the
post did not pass the moderators, I thought it is better to subscribe.
Please discard the previous email.