Post
Maven Central requires every library published there to provide a dedicated JavaDoc JAR file. Even though I don't need it, it's a requirement, so I configured my Java project to generate that. It turns out that, by default, each JavaDoc JAR comes with a bundle of font files of 4,1MB 🧨 Absurd!
0 reposts0 likes
@maven.apache.org's Javadoc plugin adds `--no-fonts` by default. To add the fonts, you would need to disable that by setting `disableNoFonts` to `true`. I admit that reading this is a bit convoluted, but at least the default keeps your Javadoc archives small!