-
Notifications
You must be signed in to change notification settings - Fork 2
No it is not, as its maintainer does not accept Maven Central's Terms of Use. The distribution is through the css4j Maven repository instead.
The codec
and transcoder
jar files were a bit entangled in Apache Batik, as they have a runtime circular dependency there. And that often confused people, see:
- https://stackoverflow.com/questions/45239099/apache-batik-no-writeadapter-is-available
- https://bz.apache.org/bugzilla/show_bug.cgi?id=44682
so in EchoSVG, both modules were merged. As a result, there is no codec
module or Jar file. You only need echosvg-transcoder
.
[0.1.x only] java.lang.module.FindException: Module xalan not found, required by io.sf.carte.echosvg.dom
The module system is refusing to create a filename-based module name from the Xalan jar file because it is finding a declaration of a non-existent service provider.
The solution is to upgrade to EchoSVG 0.2 or later (that do not depend on Xalan) but if you cannot do that, the workaround is to use a plugin to force the declaration of a module name.
With Gradle you can use either the extra-java-module-info
plugin:
plugins {
id 'org.gradlex.extra-java-module-info' version '1.0'
}
extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule('xalan:xalan', 'xalan')
}
or the moditect-gradle-plugin
.
With Maven, you could use the Moditect Maven plugin.