inleft
2022-08-02 70097d968795fcc872095c42f7b7bba618baaaf9
commit | author | age
9bcb19 1 <?xml version="1.0" encoding="UTF-8"?>
I 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.3.1.RELEASE</version>
11     </parent>
12
13     <groupId>vip.xiaonuo</groupId>
14     <artifactId>snowy</artifactId>
15     <version>1.6.0</version>
16
17     <name>snowy</name>
18     <description>snowy的前后端分离vue版本</description>
19
20     <packaging>pom</packaging>
21
22     <modules>
23         <module>snowy-base</module>
24         <module>snowy-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         <mysql-connector-java.version>8.0.17</mysql-connector-java.version>
31         <oracle.version>11.2.0.3</oracle.version>
32         <mssql.version>9.3.0.jre8-preview</mssql.version>
33         <postgresql.version>42.2.19</postgresql.version>
34         <druid.version>1.1.21</druid.version>
35         <mp.version>3.4.2</mp.version>
36         <fastjson.version>1.2.75</fastjson.version>
37         <jwt.version>0.9.1</jwt.version>
38         <hutool.version>5.5.8</hutool.version>
39         <lombok.versin>1.18.12</lombok.versin>
40         <easypoi.version>4.2.0</easypoi.version>
41         <jodconverter.version>4.2.0</jodconverter.version>
42         <libreoffice.version>6.4.3</libreoffice.version>
43         <justauth.version>1.15.6</justauth.version>
44         <aliyun.oss.version>3.8.0</aliyun.oss.version>
45         <qcloud.oss.version>5.6.23</qcloud.oss.version>
46         <aliyun.sms.sdk.version>4.4.6</aliyun.sms.sdk.version>
47         <aliyun.sms.esc.version>4.17.6</aliyun.sms.esc.version>
48         <qcloud.sms.sdk.version>3.1.57</qcloud.sms.sdk.version>
49         <knife4j.version>2.0.8</knife4j.version>
50     </properties>
51
52     <dependencyManagement>
53
54         <dependencies>
55
56             <!--mybatis-plus-->
57             <dependency>
58                 <groupId>com.baomidou</groupId>
59                 <artifactId>mybatis-plus-boot-starter</artifactId>
60                 <version>${mp.version}</version>
61             </dependency>
62
63             <!-- 数据库驱动,可根据自己需要自行删减,默认使用mysql -->
64             <dependency>
65                 <groupId>mysql</groupId>
66                 <artifactId>mysql-connector-java</artifactId>
67                 <version>${mysql-connector-java.version}</version>
68             </dependency>
69
70             <!-- oracle -->
71             <!--<dependency>
72                 <groupId>com.oracle</groupId>
73                 <artifactId>ojdbc6</artifactId>
74                 <version>${oracle.version}</version>
75             </dependency>-->
76
77             <!-- mssql -->
78            <!-- <dependency>
79                 <groupId>com.microsoft.sqlserver</groupId>
80                 <artifactId>mssql-jdbc</artifactId>
81                 <version>${mssql.version}</version>
82             </dependency>-->
83
84             <!-- postgresql -->
85            <!-- <dependency>
86                 <groupId>org.postgresql</groupId>
87                 <artifactId>postgresql</artifactId>
88                 <version>${postgresql.version}</version>
89             </dependency>-->
90
91             <!--数据库连接池-->
92             <dependency>
93                 <groupId>com.alibaba</groupId>
94                 <artifactId>druid</artifactId>
95                 <version>${druid.version}</version>
96             </dependency>
97
98             <!--jwt token-->
99             <dependency>
100                 <groupId>io.jsonwebtoken</groupId>
101                 <artifactId>jjwt</artifactId>
102                 <version>${jwt.version}</version>
103             </dependency>
104
105             <!--fastjson-->
106             <dependency>
107                 <groupId>com.alibaba</groupId>
108                 <artifactId>fastjson</artifactId>
109                 <version>${fastjson.version}</version>
110             </dependency>
111
112             <!--hutool-->
113             <dependency>
114                 <groupId>cn.hutool</groupId>
115                 <artifactId>hutool-all</artifactId>
116                 <version>${hutool.version}</version>
117             </dependency>
118
119             <!--lombok-->
120             <dependency>
121                 <groupId>org.projectlombok</groupId>
122                 <artifactId>lombok</artifactId>
123                 <version>${lombok.versin}</version>
124             </dependency>
125
126             <!-- swagger接口文档 -->
127             <dependency>
128                 <groupId>com.github.xiaoymin</groupId>
129                 <artifactId>knife4j-spring-boot-starter</artifactId>
130                 <version>${knife4j.version}</version>
131             </dependency>
132
133             <!--easypoi导入导出-->
134             <dependency>
135                 <groupId>cn.afterturn</groupId>
136                 <artifactId>easypoi-base</artifactId>
137                 <version>${easypoi.version}</version>
138             </dependency>
139
140             <!--libreoffice文档在线预览-->
141             <dependency>
142                 <groupId>org.jodconverter</groupId>
143                 <artifactId>jodconverter-core</artifactId>
144                 <version>${jodconverter.version}</version>
145             </dependency>
146             <dependency>
147                 <groupId>org.jodconverter</groupId>
148                 <artifactId>jodconverter-local</artifactId>
149                 <version>${jodconverter.version}</version>
150             </dependency>
151             <dependency>
152                 <groupId>org.jodconverter</groupId>
153                 <artifactId>jodconverter-spring-boot-starter</artifactId>
154                 <version>${jodconverter.version}</version>
155             </dependency>
156             <dependency>
157                 <groupId>org.libreoffice</groupId>
158                 <artifactId>ridl</artifactId>
159                 <version>${libreoffice.version}</version>
160             </dependency>
161
162             <!--justauth第三方登录-->
163             <dependency>
164                 <groupId>me.zhyd.oauth</groupId>
165                 <artifactId>JustAuth</artifactId>
166                 <version>${justauth.version}</version>
167             </dependency>
168
169             <!--阿里云上传文件客户端,用的时候手动引入-->
170             <dependency>
171                 <groupId>com.aliyun.oss</groupId>
172                 <artifactId>aliyun-sdk-oss</artifactId>
173                 <version>${aliyun.oss.version}</version>
174             </dependency>
175
176             <!--腾讯云上传文件客户端,用的时候手动引入-->
177             <dependency>
178                 <groupId>com.qcloud</groupId>
179                 <artifactId>cos_api</artifactId>
180                 <version>${qcloud.oss.version}</version>
181             </dependency>
182
183             <!--阿里云短信发送的sdk-->
184             <dependency>
185                 <groupId>com.aliyun</groupId>
186                 <artifactId>aliyun-java-sdk-core</artifactId>
187                 <version>${aliyun.sms.sdk.version}</version>
188             </dependency>
189             <dependency>
190                 <groupId>com.aliyun</groupId>
191                 <artifactId>aliyun-java-sdk-ecs</artifactId>
192                 <version>${aliyun.sms.esc.version}</version>
193             </dependency>
194
195             <!--腾讯云短信sdk-->
196             <dependency>
197                 <groupId>com.tencentcloudapi</groupId>
198                 <artifactId>tencentcloud-sdk-java</artifactId>
199                 <version>${qcloud.sms.sdk.version}</version>
200             </dependency>
201         </dependencies>
202
203     </dependencyManagement>
204
205     <build>
206         <plugins>
207             <plugin>
208                 <groupId>org.apache.maven.plugins</groupId>
209                 <artifactId>maven-compiler-plugin</artifactId>
210                 <version>3.1</version>
211                 <configuration>
212                     <source>${java.version}</source>
213                     <target>${java.version}</target>
214                 </configuration>
215             </plugin>
216             <plugin>
217                 <groupId>org.apache.maven.plugins</groupId>
218                 <artifactId>maven-resources-plugin</artifactId>
219                 <version>2.6</version>
220                 <configuration>
221                     <delimiters>
222                         <delimiter>@</delimiter>
223                     </delimiters>
224                     <useDefaultDelimiters>false</useDefaultDelimiters>
225                 </configuration>
226             </plugin>
227         </plugins>
228         <resources>
229             <resource>
230                 <directory>src/main/webapp</directory>
231                 <filtering>false</filtering>
232             </resource>
233             <resource>
234                 <directory>src/main/resources</directory>
235                 <filtering>true</filtering>
236             </resource>
237             <resource>
238                 <directory>src/main/java</directory>
239                 <includes>
240                     <include>**/*.xml</include>
241                 </includes>
242             </resource>
243         </resources>
244     </build>
245
246     <profiles>
247         <profile>
248             <id>local</id>
249             <properties>
250                 <spring.active>local</spring.active>
251             </properties>
252             <activation>
253                 <activeByDefault>true</activeByDefault>
254             </activation>
255         </profile>
256         <profile>
257             <id>dev</id>
258             <properties>
259                 <spring.active>dev</spring.active>
260             </properties>
261         </profile>
262         <profile>
263             <id>prod</id>
264             <properties>
265                 <spring.active>prod</spring.active>
266             </properties>
267         </profile>
268     </profiles>
269
270 </project>