Maven - mybatis/mybatis-3 Wiki

Latest release

MyBatis is published on Maven Central repository, so all you have to do is to add the following dependency to your pom.xml.



In case you are willing to test the next version which may contain fixes and improvements committed after the last release, SNAPSHOT is available on the Sonatype's snapshots repository.
Please add the following to your project's pom.xml or to a profile defined in your settings.xml.

  <name>Sonatype OSS Snapshots Repository</name>

If the next milestone version is 3.5.8, the snapshot version would be 3.5.8-SNAPSHOT.