For java 8+ :
The driver (jar) can be downloaded from mariadb connector download or maven :
<dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>3.1.2</version> </dependency>
Development snapshot are available on sonatype nexus repository
<repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <version>3.1.3-SNAPSHOT</version> </dependency> </dependencies>
For a Getting started guide, API docs, recipes, etc. see the