Bug 64967

Summary: Add an Automatic-Module-Name attribute to the JARs' MANIFEST.MF
Product: POI Reporter: Marc Jakobi <mrcjkb89>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 4.1.2-FINAL   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Marc Jakobi 2020-12-08 16:49:42 UTC
As of version 4.1.2, the poi and poi-ooxml JARs (and possibly others) do not have an Automatic-Module-Name attribute in the MANIFEST.MF, making their use in modular Java 9+ applications unstable.

I suggest adding attributes using the reverse-DNS naming convention.
Comment 1 PJ Fanning 2020-12-08 17:15:11 UTC
This work is already under way (5.0.0 release)
Comment 2 Dominik Stadler 2020-12-10 12:56:26 UTC
This is fixed in 5.0.0 as far as I see. 

The following sample MANIFEST.MF file is currently produced as part of the release building

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.10.7
Created-By: 1.8.0_252-b09 (Oracle Corporation)
Multi-Release: true
Automatic-Module-Name: org.apache.poi.poi
Built-By: jenkins
Specification-Title: Apache POI
Specification-Version: 5.0.0-SNAPSHOT
Specification-Vendor: The Apache Software Foundation
Implementation-Title: Apache POI
Implementation-Version: 5.0.0-SNAPSHOT
Implementation-Vendor-Id: org.apache.poi
Implementation-Vendor: The Apache Software Foundation


Please reopen if this is still a problem with that version, you can test pre-builds via https://ci-builds.apache.org/job/POI/job/POI-DSL-1.8/