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