blob: 0f600d2606bb9dde9ac2becf66c6f427004be347 [file] [log] [blame]
刘洪青e071d362019-08-16 09:39:49 +08001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <parent>
7 <groupId>com.supwisdom.institute</groupId>
8 <artifactId>sw-backend-parent</artifactId>
9 <version>0.0.1-SNAPSHOT</version>
10 <relativePath>../../</relativePath>
11 </parent>
12
13 <groupId>com.supwisdom.institute</groupId>
14 <artifactId>sw-backend-admin-bff</artifactId>
15 <version>0.0.1-SNAPSHOT</version>
16 <packaging>jar</packaging>
17
18 <name>Supwisdom Backend Framework Admin Backend for Frontend</name>
19 <description>Supwisdom Backend Framework Admin Backend for Frontend project</description>
20
21 <properties>
22 <start-class>com.supwisdom.institute.admin.bff.Application</start-class>
23 </properties>
24
25 <dependencies>
26
27 <dependency>
28 <groupId>org.projectlombok</groupId>
29 <artifactId>lombok</artifactId>
30 <scope>provided</scope>
31 </dependency>
32
33 <dependency>
34 <groupId>javax.servlet</groupId>
35 <artifactId>javax.servlet-api</artifactId>
36 <scope>provided</scope>
37 </dependency>
38
39
40 <dependency>
41 <groupId>org.springframework.boot</groupId>
42 <artifactId>spring-boot-starter</artifactId>
43 </dependency>
44
45 <!-- 微服务 健康监控 -->
46 <dependency>
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-starter-actuator</artifactId>
49 </dependency>
50
刘洪青859b9972019-08-20 15:43:48 +080051 <dependency>
刘洪青e071d362019-08-16 09:39:49 +080052 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-webflux</artifactId>
54 </dependency>
55
56 <dependency>
57 <groupId>org.springframework.cloud</groupId>
58 <artifactId>spring-cloud-starter-gateway</artifactId>
59 </dependency>
60
61
62 <!-- <dependency>
63 <groupId>com.supwisdom.infras</groupId>
64 <artifactId>infras-online-doc</artifactId>
65 </dependency> -->
66
67
68 <!-- <dependency>
69 <groupId>com.supwisdom.infras</groupId>
70 <artifactId>infras-mvc</artifactId>
71 </dependency>
72
73 <dependency>
74 <groupId>com.supwisdom.infras</groupId>
75 <artifactId>infras-object-mapper</artifactId>
76 </dependency>
77
78 <dependency>
79 <groupId>com.supwisdom.infras</groupId>
80 <artifactId>infras-i18n</artifactId>
81 </dependency>
82
83 <dependency>
84 <groupId>com.supwisdom.infras</groupId>
85 <artifactId>infras-lang</artifactId>
86 </dependency> -->
87
88
刘洪青039f39d2019-09-02 12:08:57 +080089 <!-- <dependency>
刘洪青e071d362019-08-16 09:39:49 +080090 <groupId>com.supwisdom.infras</groupId>
91 <artifactId>infras-security</artifactId>
92 <exclusions>
93 <exclusion>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-web</artifactId>
96 </exclusion>
97 </exclusions>
刘洪青039f39d2019-09-02 12:08:57 +080098 </dependency> -->
99
100 <dependency>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-starter-security</artifactId>
刘洪青e071d362019-08-16 09:39:49 +0800103 </dependency>
104
105 <dependency>
106 <groupId>io.jsonwebtoken</groupId>
107 <artifactId>jjwt</artifactId>
108 <version>0.9.1</version>
109 </dependency>
110
111 <dependency>
112 <groupId>org.springframework.security</groupId>
113 <artifactId>spring-security-cas</artifactId>
114 </dependency>
115
116
117 <dependency>
118 <groupId>com.supwisdom.institute</groupId>
119 <artifactId>sw-backend-common-framework</artifactId>
120 </dependency>
121
122
123 <dependency>
124 <groupId>com.alibaba</groupId>
125 <artifactId>fastjson</artifactId>
126 </dependency>
127
刘洪青e071d362019-08-16 09:39:49 +0800128
129 <dependency>
130 <groupId>io.springfox</groupId>
131 <artifactId>springfox-swagger2</artifactId>
132 </dependency>
133 <dependency>
134 <groupId>io.springfox</groupId>
135 <artifactId>springfox-swagger-ui</artifactId>
136 </dependency>
137
138
139 <!-- 热部署,无需重启项目 -->
140 <dependency>
141 <groupId>org.springframework.boot</groupId>
142 <artifactId>spring-boot-devtools</artifactId>
143 <scope>runtime</scope>
144 </dependency>
145
146 <dependency>
147 <groupId>org.springframework.boot</groupId>
148 <artifactId>spring-boot-starter-test</artifactId>
149 <scope>test</scope>
150 </dependency>
151
152 </dependencies>
153
154 <build>
155 <finalName>${project.artifactId}</finalName>
156
157 <plugins>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-compiler-plugin</artifactId>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-failsafe-plugin</artifactId>
165 </plugin>
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-javadoc-plugin</artifactId>
169 </plugin>
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-release-plugin</artifactId>
173 </plugin>
174 <plugin>
175 <groupId>org.jacoco</groupId>
176 <artifactId>jacoco-maven-plugin</artifactId>
177 </plugin>
178
179
180 <!-- <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-resources-plugin</artifactId>
183 <configuration>
184 <encoding>${project.build.sourceEncoding}</encoding>
185 </configuration>
186 <executions>
187 <execution>
188 <id>copy-doc-resources</id>
189 <phase>package</phase>
190 <goals>
191 <goal>copy-resources</goal>
192 </goals>
193 <configuration>
194 <encoding>utf-8</encoding>
195 <outputDirectory>${basedir}/target/doc</outputDirectory>
196 <overwrite>true</overwrite>
197 <resources>
198 <resource>
199 <directory>${basedir}/../../doc</directory>
200 </resource>
201 </resources>
202 </configuration>
203 </execution>
204 <execution>
205 <id>copy-certs-jwt-resources</id>
206 <phase>package</phase>
207 <goals>
208 <goal>copy-resources</goal>
209 </goals>
210 <configuration>
211 <encoding>utf-8</encoding>
212 <outputDirectory>${basedir}/target/certs/jwt</outputDirectory>
213 <overwrite>true</overwrite>
214 <resources>
215 <resource>
216 <directory>${basedir}/../../certs/jwt</directory>
217 </resource>
218 </resources>
219 </configuration>
220 </execution>
221 </executions>
222 </plugin> -->
223
224
225 <plugin>
226 <groupId>org.springframework.boot</groupId>
227 <artifactId>spring-boot-maven-plugin</artifactId>
228 </plugin>
229
230 <plugin>
231 <groupId>com.spotify</groupId>
232 <artifactId>dockerfile-maven-plugin</artifactId>
233 <configuration>
234 <skip>false</skip>
235 </configuration>
236 </plugin>
237
238 </plugins>
239
240 </build>
241
242</project>