Maven - mybatis/mybatis-3 Wiki
MyBatis is published on Maven Central repository, so all you have to do is to add the following dependency to your pom.xml.
<dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.7</version> </dependency>
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.
<repository> <id>sonatype-oss-snapshots</id> <name>Sonatype OSS Snapshots Repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository>
If the next milestone version is
3.5.8, the snapshot version would be