# mybatis-3-mybatis-3.5.6
**Repository Path**: proxyer161130/mybatis-3-mybatis-3.5.6
## Basic Information
- **Project Name**: mybatis-3-mybatis-3.5.6
- **Description**: 研究MyBatis源码,基于mybatis-3-mybatis-3.5.6
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 5
- **Created**: 2021-04-20
- **Last Updated**: 2024-05-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 环境搭建
1. JDK 1.8.0_281 64bit
2. maven 3.3.39
3. eclipse 3.9.9
4. MyBatis3.5.6
5. parent-mybatis-parent 32
# 编译步骤
1. 去github上下载[mybatis源码](https://github.com/mybatis/mybatis-3),注意是选择tag里面的源码,不是master下,使用下载zip方式。
2. 打开下载的mybatis源码,查看pom.xml文件里面的parent版本。
3. 根据第二步获取的parent版本号去github下载对应的源码。使用下载zip方式。
4. 解压[parent包](https://github.com/mybatis/parent),进入parent解压后目录,当前有pom.xml文件,在当前目录下执行命令:`mvn clean install`.
5. 解压mybatis源码包,也进入解压后有pom.xml文件的目录,按照如下步骤:
1. 把所有的`false`修改为`true`
2. 注释掉插件`maven-pdf-plugin`
3. 执行命令: `mvn clean install -DskipTests=true`,进行编译安装,忽略测试
6. 把MyBatis和Parent源码工程导入eclipse
7. 创建新的maven工程,使用poml.xml引用mybatis坐标,接着就能通过调试代码的方式研究Mybatis源码了。