Skip to content
Iwao AVE! edited this page Apr 25, 2016 · 22 revisions

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.4.0</version>
</dependency>

Snapshot

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.4.1, the snapshot version would be 3.4.1-SNAPSHOT.

Clone this wiki locally