See https://github.com/apache/xmlgraphics-fop/blob/c6af7b44d5859cdde7dc91bf207a27f8d5de8bed/fop-core/pom.xml#L22-L51
Fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-java?id=f05681e1984f759b0e7235b9ea373b9d27a8cff4