-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Maven
Iwao AVE! edited this page May 14, 2014
·
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.2.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.3.0
, the snapshot version would be 3.3.0-SNAPSHOT
.