commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [LANG] Add Automatic-Module-Name MANIFEST entry
Date Wed, 07 Jun 2017 13:28:34 GMT
On 2017-06-07, Jörg Schaible wrote:

> Stefan Bodewig wrote:

>> On 2017-06-07, Benedikt Ritter wrote:

>>> here [1] is my proposal on how to add the Automatic-Module-Name entry
>>> to MANIFEST. This just duplicates the maven-jar-plugin configuration
>>> from parent pom. I don’t want to wait much longer to release
>>> 3.6. After we have implemented a more general solution in parent pom,
>>> we can revert this fix.

>> I've done something similar to Compress already. As Compress has been
>> overriding the jar-plugin configuration already (in order to add a
>> main-class) there's been no other option anyway.

>> I'm afraid Compress is not the only component that overrides the
>> parent's jar config and thus will require copying the change manually
>> even if you happen to find a solution for parent.

> You don't have to overwrite the jar's parent config. Simply append/overwrite
> the existing entries:

>   <configuration>
>     <archive combine.children="append">
>       <manifestEntries>
>         <Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
>       </manifestEntries>
>     </archive>
>   </configuration>

> That's it ;-)

I'm pretty sure we've tried that before. I'll give it another shot,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message