Apache POI: exclusion of unnecessary dependencies

Viewed 428

I am using apache POI to generate simple monthly report (SXSSF)... but I was surprised that final app size increased by 40MB ?!? by simply adding

<dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi-ooxml</artifactId>
    <version>5.0.0</version>
</dependency>

And that is a lot. Is there a way how to exclude unnecessary parts/dependencies? E.G. 9MB batik (SVG support)
Unfortunately, I am not able to find anything about it in apache documentation. Thanks.

PS: I choosed Apache POI because it seems like the only live (2021) project ...

PSS: please don't say: use a CSV instead (-:

similar questions without response: What Apache POI exclusions should I use to minimize my project size?

0 Answers
Related