|
33 | 33 | <version>8.0.16</version> |
34 | 34 | </dependency> |
35 | 35 |
|
36 | | - </dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>org.mybatis.generator</groupId> |
| 38 | + <artifactId>mybatis-generator-core</artifactId> |
| 39 | + <version>1.3.7</version> |
| 40 | + </dependency> |
37 | 41 |
|
| 42 | + <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper --> |
| 43 | + <dependency> |
| 44 | + <groupId>com.github.pagehelper</groupId> |
| 45 | + <artifactId>pagehelper</artifactId> |
| 46 | + <version>5.2.0</version> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>com.alibaba</groupId> |
| 50 | + <artifactId>fastjson</artifactId> |
| 51 | + <version>1.2.78</version> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + </dependencies> |
| 55 | + <!-- 控制Maven在构建过程中相关配置 --> |
| 56 | + <build> |
| 57 | + <!-- 构建过程中用到的插件 --> |
| 58 | + <plugins> |
| 59 | + <!-- 具体插件,逆向工程的操作是以构建过程中插件形式出现的 --> |
| 60 | + <plugin> |
| 61 | + <groupId>org.mybatis.generator</groupId> |
| 62 | + <artifactId>mybatis-generator-maven-plugin</artifactId> |
| 63 | + <version>1.3.7</version> |
| 64 | + <!-- 插件的依赖 --> |
| 65 | + <dependencies> |
| 66 | + <!-- 逆向工程的核心依赖 --> |
| 67 | + <dependency> |
| 68 | + <groupId>org.mybatis.generator</groupId> |
| 69 | + <artifactId>mybatis-generator-core</artifactId> |
| 70 | + <version>1.3.7</version> |
| 71 | + </dependency> |
| 72 | + <!-- 数据库连接池 --> |
| 73 | + <dependency> |
| 74 | + <groupId>com.mchange</groupId> |
| 75 | + <artifactId>c3p0</artifactId> |
| 76 | + <version>0.9.2</version> |
| 77 | + </dependency> |
| 78 | + <!-- MySQL驱动 --> |
| 79 | + <dependency> |
| 80 | + <groupId>mysql</groupId> |
| 81 | + <artifactId>mysql-connector-java</artifactId> |
| 82 | + <version>8.0.16</version> |
| 83 | + </dependency> |
| 84 | + </dependencies> |
| 85 | + </plugin> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-compiler-plugin</artifactId> |
| 89 | + <configuration> |
| 90 | + <source>8</source> |
| 91 | + <target>8</target> |
| 92 | + </configuration> |
| 93 | + </plugin> |
| 94 | + </plugins> |
| 95 | + </build> |
38 | 96 | </project> |
0 commit comments