Howdy,
The Apache Maven team is pleased to announce the release of the Apache
Maven GPG Plugin, version 3.2.2
This release is a bugfix, restoring the sign-and-deploy Mojo to pick up
remote repository authentication from settings.xml. Also contains smaller
improvements as well.
This plugin signs
Howdy,
just to not let this discussion die off. Let me show a take on a "how
modern Maven plugin should look like" (that targets m-dependency-p goals,
sans analyze and some others) could look like:
https://github.com/maveniverse/toolbox
The "unpack" related goals are missing, not yet done, but th
Hello Tamás,
For context, what are the tensions that you're trying to solve here?
Is m-dependency-p too big/getting unmaintainable/becoming a kitchen sink?
Do some goals feel like a bad fit?
Are you thinking of breaking it up or replacing it?
Greg
On Tue, Mar 26, 2024 at 8:52 AM Tamás Cserven
Howdy,
Yes, m-dep-p is under maintained, it actually would need a rewrite as it
still uses MAT (and many other Maven2 archaic stuff) internally.
Hence, it will fail if used with 3.9+ features like "split repository" and
is suboptimal in many areas.
Toolbox 0.1.0 released, btw:
jbang toolbox@mave
Just for those brave... if you toy with it.
The "copy" and "copy-transitive" CLI commands and Mojos have "targetSpec"
parameters, that are parsed into ArtifactSink here:
https://github.com/maveniverse/toolbox/blob/main/shared/src/main/java/eu/maveniverse/maven/toolbox/shared/internal/ToolboxComman
Thanks Tamas for all your work. I'll sure have a look (but not right now as
I'm in a train station on a phone). Just to mention a feature I missed
yesterday in m-d-p: ability to filter on classifiers including *wildcards*.
Because I have dependencies with this kind of classifiers: natives-win,
nati
Rudimentary support for those is already present (equals, startWith,
endsWith) :)
So one can write ArtifactMatcher "spec expression" (that will be parsed
into ArtifactMatcher that is actually Predicate) as:
"artifact(gavoid)"
where "gavoid" can be "string" or "g:a" or "g:a:v" etc
Each field curren
Oh, and as a side effect, the plugin is way more snappier as well, look at
execution time diffs (I know, this is not "benchmark", but is telling):
https://gist.github.com/cstamas/6026436527cbd669ce1a5f183f03fe51
toolbox needs almost only 60% of runtime that m-dep-p have.
T
On Tue, Mar 26, 2024 a