I am not able to follow: 88 LoC with ad-hoc exclusions
<https://github.com/apache/logging-log4j-transform/blob/8803d5676da0191402068cc04a0578f40db223c4/src/assembly/source-release.xml>
.

> Maven Assembly Plugin has reproducible builds. :-)

You got me there.
`git ls-tree | zip` requires an extra line to make it reproducible.

bash two-liner vs. 88 LoC

On Tue, May 2, 2023 at 11:06 PM Piotr P. Karwasz <piotr.karw...@gmail.com>
wrote:

> Hi Volkan,
>
> On Tue, 2 May 2023 at 22:22, Volkan Yazıcı <vol...@yazi.ci> wrote:
> > Regarding `maven-assembly-plugin`... I simply don't get the motivation
> > behind replacing `git ls-files | zip` with hundreds of lines of XML
> > containing ad-hoc include/exclude statements in a module that needs to be
> > excluded in various other `pom.xml` files of the project.
>
> Now I have the exact line count: 55 lines (comments included) in the
> main pom.xml of `l-l-transform`. 30 lines of assembly descriptor.
> No inclusions and exclusions are needed.
>
> > Not to mention
> > its configuration needs to be maintained manually and there have been
> > occasions in the past where certain modules were forgotten to be added
> and
> > got noticed at the last minute. Mind sharing advantages of this
> > sophistication over a bash one-liner?
>
> Maven Assembly Plugin has reproducible builds. :-)
>
> Piotr
>

Reply via email to