- CSS4J basic usage.
- CSS4J core module javadocs (3.x).
- xml-dtd module javadocs (3.x).
- carte-util module javadocs (3.x).
This software is released under a BSD-style license, although some individual files may have a different one (see LICENSES.txt in the distribution).
Direct installation to local Maven repository
The CSS4J artifacts (together with a few dependencies not available from Maven Central like JCLF or a recent XMLPull-XPP3) can be installed directly to your local Maven repository by using these scripts:
install-xpp3.sh(1.2, optional dependency of css4j-dom4j).
The scripts execute Maven plugins: if you run them from a directory which has a
pom.xml file, you may experience problems or delays caused by Maven processing that file.
Building from Git
If you want to build css4j from the code that is currently at the Git repositories, you need a JDK version 15 or higher
and a copy of the CSS4J-distribution repository,
then run the
tree.sh script. For example:
git clone https://github.com/css4j/css4j-dist.git css4j-snapshot
After running the script you'll have a tree with all the modules, ready to build with Maven (just run
Note that -as explained above- a couple of the dependencies are not in Maven Central: you probably need to install them manually first,
which can be done easily with the aforementioned
Community - Support
There is a general forum that can be used for css4j support, and the development forum is intended for discussions about patches and APIs.