Self answer, I have cloned the execution but I have reused the common
assembly descriptor. It is a trade off but it works

https://github.com/apache/zookeeper/commit/9053f7c431bb17ed79c2be129b6ba4ba18d15ab1

Enrico

Il giorno ven 17 gen 2020 alle ore 08:50 Enrico Olivelli <
[email protected]> ha scritto:

> Hi,
> In Apache ZooKeeper community we want to switch to using the "source
> package" generated by the apache parent pom with the execution of
> "source-release-assembly".
> https://github.com/apache/maven-apache-parent/blob/master/pom.xml#L381
>
> What is the *best* way to achieve these goals (without redefining the full
> execution):
> 1) create a tar.gz file ?
> 2) use a custom file name
>
>
> 1) We have historically always distributed the sources in tar.gz format,
> the ZIP file works well but if we keep the usual format we will give less
> troubles to downstream consumers
>
> 2) Such execution is bound to the root project, that has "parent" as
> artifact id, so the ZIP file name is like parent-3.6.0-sources.zip
> I would like it to be apache-zookeeper-3.6.0.tar.gz
>
> Any comment/help is appreciated.
>
> My personal solution would be to create a separate execution with a copy
> and paste of the Apache Parent POM, but if will it is not ideal
>
> Cheers
> Enrico
>

Reply via email to