cl
2024-01-20 d434812c124e2dab22487f8d40d8ad6c3b8ad19c
提交 | 用户 | 时间
71e81e 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6
7     <parent>
8         <groupId>org.springframework.boot</groupId>
9         <artifactId>spring-boot-starter-parent</artifactId>
10         <version>2.1.6.RELEASE</version>
11     </parent>
12
13     <groupId>cn.stylefeng</groupId>
14     <artifactId>guns-vip</artifactId>
15     <version>1.0.0</version>
16
17     <name>guns-vip</name>
18     <description>guns的vip版本</description>
19
20     <packaging>pom</packaging>
21
22     <modules>
23         <module>guns-base-support</module>
24         <module>guns-vip-main</module>
25     </modules>
26
27     <properties>
28         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30         <java.version>1.8</java.version>
31         <mysql-connector-java.version>8.0.11</mysql-connector-java.version>
32         <oracle.version>11.2.0.3</oracle.version>
33         <sqlserver.version>1.3.1</sqlserver.version>
34         <pgsql.version>42.2.5</pgsql.version>
35         <kaptcha.version>2.3.2</kaptcha.version>
36         <beetl.version>2.9.3</beetl.version>
37         <swagger.version>2.9.2</swagger.version>
38         <jwt.version>0.9.0</jwt.version>
39         <oshi.version>3.9.1</oshi.version>
40         <just.auth.version>1.9.5</just.auth.version>
41         <activiti.version>6.0.0</activiti.version>
42         <batik.version>1.7</batik.version>
43         <docker.img.version>latest</docker.img.version>
44         <kernel.version>2.2.12</kernel.version>
45     </properties>
46
47     <dependencyManagement>
48
49         <dependencies>
50
51             <!--核心组件-->
52             <dependency>
53                 <groupId>cn.stylefeng.roses</groupId>
54                 <artifactId>kernel-core</artifactId>
55                 <version>${kernel.version}</version>
56             </dependency>
57             <dependency>
58                 <groupId>cn.stylefeng.roses</groupId>
59                 <artifactId>kernel-validator</artifactId>
60                 <version>${kernel.version}</version>
61             </dependency>
62             <dependency>
63                 <groupId>cn.stylefeng.roses</groupId>
64                 <artifactId>kernel-excel</artifactId>
65                 <version>${kernel.version}</version>
66             </dependency>
67
68             <!--数据库驱动,可根据自己需要自行删减-->
69             <dependency>
70                 <groupId>mysql</groupId>
71                 <artifactId>mysql-connector-java</artifactId>
72                 <version>${mysql-connector-java.version}</version>
73             </dependency>
74             <dependency>
75                 <groupId>net.sourceforge.jtds</groupId>
76                 <artifactId>jtds</artifactId>
77                 <version>${sqlserver.version}</version>
78             </dependency>
79             <dependency>
80                 <groupId>com.oracle</groupId>
81                 <artifactId>ojdbc6</artifactId>
82                 <version>${oracle.version}</version>
83             </dependency>
84             <dependency>
85                 <groupId>org.postgresql</groupId>
86                 <artifactId>postgresql</artifactId>
87                 <version>${pgsql.version}</version>
88             </dependency>
89
90             <!--beetl模板引擎-->
91             <dependency>
92                 <groupId>com.ibeetl</groupId>
93                 <artifactId>beetl</artifactId>
94                 <version>${beetl.version}</version>
95             </dependency>
96
97             <!--jwt token-->
98             <dependency>
99                 <groupId>io.jsonwebtoken</groupId>
100                 <artifactId>jjwt</artifactId>
101                 <version>${jwt.version}</version>
102             </dependency>
103
104             <!--excel导入导出-->
105             <dependency>
106                 <groupId>cn.afterturn</groupId>
107                 <artifactId>easypoi-web</artifactId>
108                 <version>4.0.0</version>
109             </dependency>
110
111             <!--验证码-->
112             <dependency>
113                 <groupId>com.github.penggle</groupId>
114                 <artifactId>kaptcha</artifactId>
115                 <version>${kaptcha.version}</version>
116             </dependency>
117
118             <!--硬件信息获取-->
119             <dependency>
120                 <groupId>com.github.oshi</groupId>
121                 <artifactId>oshi-core</artifactId>
122                 <version>${oshi.version}</version>
123             </dependency>
124
125             <!-- 第三方登录 -->
126             <dependency>
127                 <groupId>me.zhyd.oauth</groupId>
128                 <artifactId>JustAuth</artifactId>
129                 <version>${just.auth.version}</version>
130             </dependency>
131
132             <!-- activiti -->
133             <dependency>
134                 <groupId>org.activiti</groupId>
135                 <artifactId>activiti-spring-boot-starter-basic</artifactId>
136                 <version>${activiti.version}</version>
137                 <exclusions>
138                     <exclusion>
139                         <groupId>de.odysseus.juel</groupId>
140                         <artifactId>juel-spi</artifactId>
141                     </exclusion>
142                     <exclusion>
143                         <groupId>de.odysseus.juel</groupId>
144                         <artifactId>juel-api</artifactId>
145                     </exclusion>
146                 </exclusions>
147             </dependency>
148             <dependency>
149                 <groupId>org.activiti</groupId>
150                 <artifactId>activiti-json-converter</artifactId>
151                 <version>${activiti.version}</version>
152             </dependency>
153
154             <!-- batik start -->
155             <dependency>
156                 <groupId>org.apache.xmlgraphics</groupId>
157                 <artifactId>batik-anim</artifactId>
158                 <version>${batik.version}</version>
159             </dependency>
160             <dependency>
161                 <groupId>org.apache.xmlgraphics</groupId>
162                 <artifactId>batik-awt-util</artifactId>
163                 <version>${batik.version}</version>
164             </dependency>
165             <dependency>
166                 <groupId>org.apache.xmlgraphics</groupId>
167                 <artifactId>batik-bridge</artifactId>
168                 <version>${batik.version}</version>
169             </dependency>
170             <dependency>
171                 <groupId>org.apache.xmlgraphics</groupId>
172                 <artifactId>batik-codec</artifactId>
173                 <version>${batik.version}</version>
174             </dependency>
175             <dependency>
176                 <groupId>org.apache.xmlgraphics</groupId>
177                 <artifactId>batik-css</artifactId>
178                 <version>${batik.version}</version>
179             </dependency>
180             <dependency>
181                 <groupId>org.apache.xmlgraphics</groupId>
182                 <artifactId>batik-dom</artifactId>
183                 <version>${batik.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>org.apache.xmlgraphics</groupId>
187                 <artifactId>batik-ext</artifactId>
188                 <version>${batik.version}</version>
189             </dependency>
190             <dependency>
191                 <groupId>org.apache.xmlgraphics</groupId>
192                 <artifactId>batik-gvt</artifactId>
193                 <version>${batik.version}</version>
194             </dependency>
195             <dependency>
196                 <groupId>org.apache.xmlgraphics</groupId>
197                 <artifactId>batik-js</artifactId>
198                 <version>${batik.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>org.apache.xmlgraphics</groupId>
202                 <artifactId>batik-parser</artifactId>
203                 <version>${batik.version}</version>
204             </dependency>
205             <dependency>
206                 <groupId>org.apache.xmlgraphics</groupId>
207                 <artifactId>batik-script</artifactId>
208                 <version>${batik.version}</version>
209             </dependency>
210             <dependency>
211                 <groupId>org.apache.xmlgraphics</groupId>
212                 <artifactId>batik-svg-dom</artifactId>
213                 <version>${batik.version}</version>
214             </dependency>
215             <dependency>
216                 <groupId>org.apache.xmlgraphics</groupId>
217                 <artifactId>batik-svggen</artifactId>
218                 <version>${batik.version}</version>
219             </dependency>
220             <dependency>
221                 <groupId>org.apache.xmlgraphics</groupId>
222                 <artifactId>batik-transcoder</artifactId>
223                 <version>${batik.version}</version>
224             </dependency>
225             <dependency>
226                 <groupId>org.apache.xmlgraphics</groupId>
227                 <artifactId>batik-util</artifactId>
228                 <version>${batik.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>org.apache.xmlgraphics</groupId>
232                 <artifactId>batik-xml</artifactId>
233                 <version>${batik.version}</version>
234             </dependency>
235
236             <!-- jstl -->
237             <dependency>
238                 <groupId>javax.servlet</groupId>
239                 <artifactId>jstl</artifactId>
240                 <version>1.2</version>
241             </dependency>
242
243             <!-- jasper -->
244             <dependency>
245                 <groupId>org.apache.tomcat.embed</groupId>
246                 <artifactId>tomcat-embed-jasper</artifactId>
247                 <version>9.0.14</version>
248                 <scope>provided</scope>
249             </dependency>
250
251             <!-- BASE64处理 -->
252             <dependency>
253                 <groupId>commons-codec</groupId>
254                 <artifactId>commons-codec</artifactId>
255                 <version>1.11</version>
256             </dependency>
257
258             <!-- 上传文件依赖 -->
259             <dependency>
260                 <groupId>commons-fileupload</groupId>
261                 <artifactId>commons-fileupload</artifactId>
262                 <version>1.3.3</version>
263             </dependency>
264
265             <!--swagger-->
266             <dependency>
267                 <groupId>io.springfox</groupId>
268                 <artifactId>springfox-swagger2</artifactId>
269                 <version>${swagger.version}</version>
270             </dependency>
271             <dependency>
272                 <groupId>io.springfox</groupId>
273                 <artifactId>springfox-swagger-ui</artifactId>
274                 <version>${swagger.version}</version>
275             </dependency>
276
277         </dependencies>
278
279     </dependencyManagement>
280
281     <build>
282         <plugins>
283             <plugin>
284                 <groupId>org.apache.maven.plugins</groupId>
285                 <artifactId>maven-compiler-plugin</artifactId>
286                 <version>3.1</version>
287                 <configuration>
288                     <source>${java.version}</source>
289                     <target>${java.version}</target>
290                 </configuration>
291             </plugin>
292             <plugin>
293                 <groupId>org.apache.maven.plugins</groupId>
294                 <artifactId>maven-resources-plugin</artifactId>
295                 <configuration>
296                     <delimiters>
297                         <delimiter>@</delimiter>
298                     </delimiters>
299                     <useDefaultDelimiters>false</useDefaultDelimiters>
300                 </configuration>
301             </plugin>
302         </plugins>
303         <resources>
304             <resource>
305                 <directory>src/main/webapp</directory>
306                 <filtering>false</filtering>
307             </resource>
308             <resource>
309                 <directory>src/main/resources</directory>
310                 <filtering>true</filtering>
311             </resource>
312             <resource>
313                 <directory>src/main/java</directory>
314                 <includes>
315                     <include>**/*.xml</include>
316                 </includes>
317             </resource>
318         </resources>
319     </build>
320
321     <profiles>
322         <profile>
323             <id>local</id>
324             <properties>
325                 <spring.active>local</spring.active>
326             </properties>
327             <activation>
328                 <activeByDefault>true</activeByDefault>
329             </activation>
330         </profile>
331         <profile>
332             <id>dev</id>
333             <properties>
334                 <spring.active>dev</spring.active>
335             </properties>
336         </profile>
337     </profiles>
338
339 </project>