-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Maven
Iwao AVE! edited this page Jul 18, 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.1</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.4.2
, the snapshot version would be 3.4.2-SNAPSHOT
.