On 11/11/2023 11:44 AM, Greg Chabala wrote:
Use the sourceReleaseAssemblyDescriptor of maven-assembly-plugin:
https://maven.apache.org/apache-resource-bundles/source-release/
Thanks; hadn't seen that one. Definitely a fan of not reinventing wheels.
Can that be configured to write the archives
I hesitate to bring it up, but this seems as good a time as any. You've
mentioned several times your intent to massage the Xalan Maven build to
produce artifacts at parity with the existing Ant build, and not just the
contents of artifacts but also where they end up in the directory
structure, for
Hello,
Joseph Kesselman wrote on 11. Nov 2023 17:27 (GMT +01:00):
> ... Right. I was thinking specifically about source assembly, where a good
> initial approximation is to include the same files checked into git.
If you stick to the maven way, this is pretty trivial: you only need to exclude
... Right. I was thinking specifically about source assembly, where a good
initial approximation is to include the same files checked into git. Obviously
that's wrong for binary assembly, but having the option of "import ignore list
into source excludes" would help keep the two in synch. And
The "binary" assembly I'm trying to reproduce is the one our And project
generated -- the artifact jarfile, plus source and input for the samples, plus
the documentation directory -- basically, everything an end-user might want
locally. I'm getting close to having that working.
Output
I have no first hand experience using it, and only know of its existence as
it's mentioned at the bottom the Reproducible Builds docs:
https://reproducible-builds.org/docs/jvm/
Notably the maven-assembly-plugin documentation mentions a predefined
'project' descriptor which may also do just what
I am using a Maven build structure. Or my best attempt at it as a newcomer to
Maven. I've been delaying cutover specifically because I didn't want to pull
the trigger without a sanity check.
Gary has said he'll try to look at what I've done soon. If anyone else has
cycles, I'd welcome review
Let me also chime in, telling an "old war story" from my early days in
AspectJ: It used to be a very complex and convoluted Ant multi-module
monster. I never dared to even try and understand the build or
contribute to the project. Then one day, Andy Clement converted the
project to a Maven
Don't worry. I'm not trying to reproduce the Ant build logic. I'm trying to be
as Maven& idiomatic as I can in the actual build.
But if possible I want to produce, from that, a directory which contains
somethIng close to what the Ant build would have delivered. Both because I
haven't had time
Duh. Just noticed that the FAQ explicitly mentions creating a child
module just to achieve this sequencing in multi-module projects. Mea
culpa, mea maxima culpa... I'd have hoped something could be done with
phase and target, but if not, not.
On 11/11/2023 11:44 AM, Joseph Kessselman wrote:
Sorry:
https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored
(which currently has the binary assembly commented out).
Dependency order... Well, I'm currently running the assembly at the top
level, which would presumably mean it has to run after packaging of the
contained
>
> I was thinking specifically about source assembly, where a good initial
> approximation is to include the same files checked into git.
>
Use the sourceReleaseAssemblyDescriptor of maven-assembly-plugin:
https://maven.apache.org/apache-resource-bundles/source-release/
I welcome feedback on where I might have departed from Maven conventions and
defaults, or otherwise missed a bet. I actually don't think I'm far off --
maybe not the most elegant solutions possible, but basically using Maven as
designed to be used.
But I'd sorta appreciate it if folks were
my .gitignore includes target, so that would probably cause more issues
with the assembly plugin.
On Fri, 10 Nov 2023 at 21:34, wrote:
> I think there are two issues with this, first of all git is not the only
> SCM, so why prefer it’s file.
>
> But secondly it is very common that binary
The Apache Maven team is pleased to announce the release of the Apache
Maven Plugin Testing version, version 4.0.0-alpha-2
https://maven.apache.org/plugin-testing/
You can download the appropriate sources etc. from the download page:
https://maven.apache.org/plugin-testing/download.html
15 matches
Mail list logo