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