blob: ecd5261e0379cf407b988da3bc807a9e382d5850 [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
51
52 <dependency>
刘洪青859b9972019-08-20 15:43:48 +080053 <groupId>org.springframework.cloud</groupId>
54 <artifactId>spring-cloud-starter-openfeign</artifactId>
55 </dependency>
56
57
58 <dependency>
刘洪青e071d362019-08-16 09:39:49 +080059 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-webflux</artifactId>
61 </dependency>
62
63 <dependency>
64 <groupId>org.springframework.cloud</groupId>
65 <artifactId>spring-cloud-starter-gateway</artifactId>
66 </dependency>
67
68
69 <!-- <dependency>
70 <groupId>com.supwisdom.infras</groupId>
71 <artifactId>infras-online-doc</artifactId>
72 </dependency> -->
73
74
75 <!-- <dependency>
76 <groupId>com.supwisdom.infras</groupId>
77 <artifactId>infras-mvc</artifactId>
78 </dependency>
79
80 <dependency>
81 <groupId>com.supwisdom.infras</groupId>
82 <artifactId>infras-object-mapper</artifactId>
83 </dependency>
84
85 <dependency>
86 <groupId>com.supwisdom.infras</groupId>
87 <artifactId>infras-i18n</artifactId>
88 </dependency>
89
90 <dependency>
91 <groupId>com.supwisdom.infras</groupId>
92 <artifactId>infras-lang</artifactId>
93 </dependency> -->
94
95
96 <dependency>
97 <groupId>com.supwisdom.infras</groupId>
98 <artifactId>infras-security</artifactId>
99 <exclusions>
100 <exclusion>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-starter-web</artifactId>
103 </exclusion>
104 </exclusions>
105 </dependency>
106
107 <dependency>
108 <groupId>io.jsonwebtoken</groupId>
109 <artifactId>jjwt</artifactId>
110 <version>0.9.1</version>
111 </dependency>
112
113 <dependency>
114 <groupId>org.springframework.security</groupId>
115 <artifactId>spring-security-cas</artifactId>
116 </dependency>
117
118
119 <dependency>
120 <groupId>com.supwisdom.institute</groupId>
121 <artifactId>sw-backend-common-framework</artifactId>
122 </dependency>
123
124
125 <dependency>
126 <groupId>com.alibaba</groupId>
127 <artifactId>fastjson</artifactId>
128 </dependency>
129
130 <dependency>
131 <groupId>org.apache.httpcomponents</groupId>
132 <artifactId>httpclient</artifactId>
133 </dependency>
134 <!-- <dependency>
135 <groupId>com.netflix.feign</groupId>
136 <artifactId>feign-httpclient</artifactId>
137 </dependency> -->
138
139
140 <dependency>
141 <groupId>io.springfox</groupId>
142 <artifactId>springfox-swagger2</artifactId>
143 </dependency>
144 <dependency>
145 <groupId>io.springfox</groupId>
146 <artifactId>springfox-swagger-ui</artifactId>
147 </dependency>
148
149
150 <!-- 热部署,无需重启项目 -->
151 <dependency>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-devtools</artifactId>
154 <scope>runtime</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.springframework.boot</groupId>
159 <artifactId>spring-boot-starter-test</artifactId>
160 <scope>test</scope>
161 </dependency>
162
163 </dependencies>
164
165 <build>
166 <finalName>${project.artifactId}</finalName>
167
168 <plugins>
169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-compiler-plugin</artifactId>
172 </plugin>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-failsafe-plugin</artifactId>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-javadoc-plugin</artifactId>
180 </plugin>
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-release-plugin</artifactId>
184 </plugin>
185 <plugin>
186 <groupId>org.jacoco</groupId>
187 <artifactId>jacoco-maven-plugin</artifactId>
188 </plugin>
189
190
191 <!-- <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-resources-plugin</artifactId>
194 <configuration>
195 <encoding>${project.build.sourceEncoding}</encoding>
196 </configuration>
197 <executions>
198 <execution>
199 <id>copy-doc-resources</id>
200 <phase>package</phase>
201 <goals>
202 <goal>copy-resources</goal>
203 </goals>
204 <configuration>
205 <encoding>utf-8</encoding>
206 <outputDirectory>${basedir}/target/doc</outputDirectory>
207 <overwrite>true</overwrite>
208 <resources>
209 <resource>
210 <directory>${basedir}/../../doc</directory>
211 </resource>
212 </resources>
213 </configuration>
214 </execution>
215 <execution>
216 <id>copy-certs-jwt-resources</id>
217 <phase>package</phase>
218 <goals>
219 <goal>copy-resources</goal>
220 </goals>
221 <configuration>
222 <encoding>utf-8</encoding>
223 <outputDirectory>${basedir}/target/certs/jwt</outputDirectory>
224 <overwrite>true</overwrite>
225 <resources>
226 <resource>
227 <directory>${basedir}/../../certs/jwt</directory>
228 </resource>
229 </resources>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin> -->
234
235
236 <plugin>
237 <groupId>org.springframework.boot</groupId>
238 <artifactId>spring-boot-maven-plugin</artifactId>
239 </plugin>
240
241 <plugin>
242 <groupId>com.spotify</groupId>
243 <artifactId>dockerfile-maven-plugin</artifactId>
244 <configuration>
245 <skip>false</skip>
246 </configuration>
247 </plugin>
248
249 </plugins>
250
251 </build>
252
253</project>