To build the documentation of this project, you need a UNIX-based operating system. Windows is not fully supported as it does not support symlinks.
You also need the following software installed to generate the reference documentation of the driver:
- Java JDK 8 or higher
- Maven
Once you have installed the above software, you can build and preview the documentation by following the steps outlined in the Quickstart guide <https://sphinx-theme.scylladb.com/stable/getting-started/quickstart.html>_.
To generate the reference documentation of the driver, run the command make javadoc. This command generates the reference documentation using the Javadoc tool in the _build/dirhtml/<VERSION>/api directory.
Most day-to-day tasks are wrapped in the top-level Makefile so you do not have to remember long Maven invocations. Common targets include:
make download-all-dependenciespre-fetches all Maven artifacts to warm local caches.make compile-allcompiles main and test sources without running tests, skipping format, clirr, and animal-sniffer checks for speed.make test-unitruns the fast unit-test suite; useMVNCMDto tweak the underlying Maven command if needed.make test-integration-scyllaandmake test-integration-cassandraexecute CCM-backed integration suites. ExportSCYLLA_VERSIONorCASSANDRA_VERSIONto pin specific server versions before invoking.make checkexecutesmvn verify -DskipTestsfor static analysis, whilemake fixapplies code formatters viamvn fmt:format.make fixexecutesmvn fmt:formatto format the code.make cleanremoves Maven targets, shaded artifacts, and release backups to reset the tree.
The Makefile automatically installs the shaded Guava dependency and, for integration tests, bootstraps the appropriate CCM toolchain and raises kernel aio-max-nr when required. If a target fails because the toolchain is missing, rerun after installing the prerequisites highlighted in the target output.