# mybatisplus-maven-plugin
**Repository Path**: FreeCode/mybatisplus-maven-plugin
## Basic Information
- **Project Name**: mybatisplus-maven-plugin
- **Description**: Mybatis-Plus Maven 代码生成插件
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 127
- **Created**: 2019-03-14
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#mybatisplus-maven-plugin
#####一、简介
* [mybatis-plus](http://git.oschina.net/baomidou/mybatis-plus) 代码生成工具的 maven 插件版本
#####二、使用方法
* 在项目的pom文件中配置以下内容
```xml
com.baomidou
mybatisplus-maven-plugin
1.0
e:\cache
true
true
Yanghu
false
com.mysql.jdbc.Driver
jdbc:mysql://127.0.0.1:3306/demo?useUnicode=true&useSSL=false
root
123456
remove_prefix_and_camel
bmd_
uuid
com.baomidou
service
service.impl
entity
mapper
mapper.xml
mysql
mysql-connector-java
${mysql.version}
```
# 执行
* 下载源码的同学!可使用mvn clean install将自定义的这个插件安装到本地仓库。
执行:mvn clean install
命令:mvn com.baomidou:mybatisplus-maven-plugin:1.0:code
* 显然这个命令太长了,使用很不方便,可在settings.xml中配置如下:
```
com.baomidou
```
* 然后使用简单命令:mvn mp:code
#####二、参数说明