|
|
@@ -37,7 +37,7 @@
|
|
37
|
37
|
<version>1.6.2</version>
|
|
38
|
38
|
</dependency>
|
|
39
|
39
|
|
|
40
|
|
- <!-- Mysql驱动包 -->
|
|
|
40
|
+ <!-- Mysql驱动包 -->
|
|
41
|
41
|
<dependency>
|
|
42
|
42
|
<groupId>mysql</groupId>
|
|
43
|
43
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
@@ -54,7 +54,12 @@
|
|
54
|
54
|
<groupId>com.ruoyi</groupId>
|
|
55
|
55
|
<artifactId>ruoyi-quartz</artifactId>
|
|
56
|
56
|
</dependency>
|
|
57
|
|
-
|
|
|
57
|
+ <!--通用mapper-->
|
|
|
58
|
+ <dependency>
|
|
|
59
|
+ <groupId>tk.mybatis</groupId>
|
|
|
60
|
+ <artifactId>mapper-spring-boot-starter</artifactId>
|
|
|
61
|
+ <version>2.1.5</version>
|
|
|
62
|
+ </dependency>
|
|
58
|
63
|
<!-- 代码生成-->
|
|
59
|
64
|
<dependency>
|
|
60
|
65
|
<groupId>com.ruoyi</groupId>
|
|
|
@@ -84,15 +89,55 @@
|
|
84
|
89
|
</execution>
|
|
85
|
90
|
</executions>
|
|
86
|
91
|
</plugin>
|
|
87
|
|
- <plugin>
|
|
88
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
89
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
90
|
|
- <version>3.1.0</version>
|
|
|
92
|
+ <plugin>
|
|
|
93
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
94
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
95
|
+ <version>3.1.0</version>
|
|
91
|
96
|
<configuration>
|
|
92
|
97
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
93
|
98
|
<warName>${project.artifactId}</warName>
|
|
94
|
|
- </configuration>
|
|
95
|
|
- </plugin>
|
|
|
99
|
+ </configuration>
|
|
|
100
|
+ </plugin>
|
|
|
101
|
+ <!-- 通用mapper代码生成器-->
|
|
|
102
|
+ <plugin>
|
|
|
103
|
+ <groupId>org.mybatis.generator</groupId>
|
|
|
104
|
+ <artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
105
|
+ <version>1.3.6</version>
|
|
|
106
|
+ <configuration>
|
|
|
107
|
+ <configurationFile>
|
|
|
108
|
+ ${basedir}/src/main/resources/generator/generatorConfig.xml
|
|
|
109
|
+ </configurationFile>
|
|
|
110
|
+ <overwrite>true</overwrite>
|
|
|
111
|
+ <verbose>true</verbose>
|
|
|
112
|
+ </configuration>
|
|
|
113
|
+ <dependencies>
|
|
|
114
|
+ <dependency>
|
|
|
115
|
+ <groupId>mysql</groupId>
|
|
|
116
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
117
|
+ <version>8.0.26</version>
|
|
|
118
|
+ </dependency>
|
|
|
119
|
+ <dependency>
|
|
|
120
|
+ <groupId>tk.mybatis</groupId>
|
|
|
121
|
+ <artifactId>mapper</artifactId>
|
|
|
122
|
+ <version>4.1.5</version>
|
|
|
123
|
+ </dependency>
|
|
|
124
|
+ <dependency>
|
|
|
125
|
+ <groupId>org.projectlombok</groupId>
|
|
|
126
|
+ <artifactId>lombok</artifactId>
|
|
|
127
|
+ <version>1.18.20</version>
|
|
|
128
|
+ <scope>compile</scope>
|
|
|
129
|
+ </dependency>
|
|
|
130
|
+ </dependencies>
|
|
|
131
|
+ </plugin>
|
|
|
132
|
+ <!--跳过单测-->
|
|
|
133
|
+ <plugin>
|
|
|
134
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
135
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
136
|
+ <version>2.22.2</version>
|
|
|
137
|
+ <configuration>
|
|
|
138
|
+ <skipTests>true</skipTests>
|
|
|
139
|
+ </configuration>
|
|
|
140
|
+ </plugin>
|
|
96
|
141
|
</plugins>
|
|
97
|
142
|
<finalName>${project.artifactId}</finalName>
|
|
98
|
143
|
</build>
|