blob: 86dfd32fd36424bc7a5b04b4f6e50e02bbac356c [file] [log] [blame]
刘洪青51768cb2019-09-08 10:06:17 +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"
刘洪青dde4e212019-09-04 22:13:23 +08003 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>
刘洪青dde4e212019-09-04 22:13:23 +080010 </parent>
11
12 <groupId>com.supwisdom.institute</groupId>
刘洪青51768cb2019-09-08 10:06:17 +080013 <artifactId>sw-backend-gateway</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +080014 <version>0.0.1-SNAPSHOT</version>
15 <packaging>jar</packaging>
16
刘洪青51768cb2019-09-08 10:06:17 +080017 <name>Supwisdom Backend Framework Gateway</name>
18 <description>Supwisdom Backend Framework Gateway project</description>
刘洪青dde4e212019-09-04 22:13:23 +080019
20 <properties>
刘洪青51768cb2019-09-08 10:06:17 +080021 <start-class>com.supwisdom.institute.backend.gateway.Application</start-class>
刘洪青dde4e212019-09-04 22:13:23 +080022 </properties>
23
24 <dependencies>
25
26 <dependency>
27 <groupId>org.projectlombok</groupId>
28 <artifactId>lombok</artifactId>
29 <scope>provided</scope>
30 </dependency>
31
32 <dependency>
刘洪青51768cb2019-09-08 10:06:17 +080033 <groupId>javax.servlet</groupId>
34 <artifactId>javax.servlet-api</artifactId>
35 <scope>provided</scope>
36 </dependency>
37
38
39 <dependency>
刘洪青dde4e212019-09-04 22:13:23 +080040 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-starter</artifactId>
42 </dependency>
43
44 <!-- 微服务 健康监控 -->
45 <dependency>
46 <groupId>org.springframework.boot</groupId>
47 <artifactId>spring-boot-starter-actuator</artifactId>
48 </dependency>
49
刘洪青dde4e212019-09-04 22:13:23 +080050 <dependency>
51 <groupId>org.springframework.boot</groupId>
刘洪青51768cb2019-09-08 10:06:17 +080052 <artifactId>spring-boot-starter-webflux</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +080053 </dependency>
刘洪青51768cb2019-09-08 10:06:17 +080054
刘洪青dde4e212019-09-04 22:13:23 +080055 <dependency>
刘洪青51768cb2019-09-08 10:06:17 +080056 <groupId>org.springframework.cloud</groupId>
57 <artifactId>spring-cloud-starter-gateway</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +080058 </dependency>
59
60
61 <!-- <dependency>
62 <groupId>com.supwisdom.infras</groupId>
刘洪青51768cb2019-09-08 10:06:17 +080063 <artifactId>infras-online-doc</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +080064 </dependency> -->
65
刘洪青51768cb2019-09-08 10:06:17 +080066
67 <!-- <dependency>
68 <groupId>com.supwisdom.infras</groupId>
69 <artifactId>infras-mvc</artifactId>
70 </dependency>
71
刘洪青dde4e212019-09-04 22:13:23 +080072 <dependency>
73 <groupId>com.supwisdom.infras</groupId>
74 <artifactId>infras-object-mapper</artifactId>
75 </dependency>
76
77 <dependency>
78 <groupId>com.supwisdom.infras</groupId>
79 <artifactId>infras-i18n</artifactId>
80 </dependency>
81
82 <dependency>
83 <groupId>com.supwisdom.infras</groupId>
84 <artifactId>infras-lang</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +080085 </dependency> -->
86
87
88 <dependency>
89 <groupId>com.supwisdom.infras</groupId>
90 <artifactId>infras-security</artifactId>
91 </dependency>
92
93 <dependency>
94 <groupId>org.springframework.boot</groupId>
95 <artifactId>spring-boot-starter-security</artifactId>
96 </dependency>
97
98 <dependency>
99 <groupId>io.jsonwebtoken</groupId>
100 <artifactId>jjwt</artifactId>
101 <version>0.9.1</version>
102 </dependency>
103
104 <dependency>
105 <groupId>org.springframework.security</groupId>
106 <artifactId>spring-security-cas</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +0800107 </dependency>
108
109
110 <dependency>
111 <groupId>com.supwisdom.institute</groupId>
112 <artifactId>sw-backend-common-framework</artifactId>
113 </dependency>
刘洪青98963ab2019-09-05 18:10:09 +0800114
刘洪青4fa11832019-09-19 18:06:26 +0800115 <dependency>
116 <groupId>commons-codec</groupId>
117 <artifactId>commons-codec</artifactId>
118 </dependency>
119
刘洪青51768cb2019-09-08 10:06:17 +0800120 <dependency>
121 <groupId>com.alibaba</groupId>
122 <artifactId>fastjson</artifactId>
123 </dependency>
刘洪青dde4e212019-09-04 22:13:23 +0800124
125
126 <dependency>
127 <groupId>io.springfox</groupId>
128 <artifactId>springfox-swagger2</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>io.springfox</groupId>
132 <artifactId>springfox-swagger-ui</artifactId>
133 </dependency>
134
135
刘洪青dde4e212019-09-04 22:13:23 +0800136 <!-- 热部署,无需重启项目 -->
137 <dependency>
138 <groupId>org.springframework.boot</groupId>
139 <artifactId>spring-boot-devtools</artifactId>
140 <scope>runtime</scope>
141 </dependency>
142
刘洪青dde4e212019-09-04 22:13:23 +0800143 <dependency>
144 <groupId>org.springframework.boot</groupId>
145 <artifactId>spring-boot-starter-test</artifactId>
146 <scope>test</scope>
147 </dependency>
148
149 </dependencies>
150
151 <build>
152 <finalName>${project.artifactId}</finalName>
153
154 <plugins>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-compiler-plugin</artifactId>
158 </plugin>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-failsafe-plugin</artifactId>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-javadoc-plugin</artifactId>
166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-release-plugin</artifactId>
170 </plugin>
171 <plugin>
172 <groupId>org.jacoco</groupId>
173 <artifactId>jacoco-maven-plugin</artifactId>
174 </plugin>
175
176
177 <!-- <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-resources-plugin</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +0800180 <configuration>
181 <encoding>${project.build.sourceEncoding}</encoding>
182 </configuration>
183 <executions>
184 <execution>
185 <id>copy-doc-resources</id>
186 <phase>package</phase>
187 <goals>
188 <goal>copy-resources</goal>
189 </goals>
190 <configuration>
191 <encoding>utf-8</encoding>
192 <outputDirectory>${basedir}/target/doc</outputDirectory>
193 <overwrite>true</overwrite>
194 <resources>
195 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800196 <directory>${basedir}/../../doc</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800197 </resource>
198 </resources>
199 </configuration>
200 </execution>
201 <execution>
刘洪青51768cb2019-09-08 10:06:17 +0800202 <id>copy-certs-jwt-resources</id>
刘洪青dde4e212019-09-04 22:13:23 +0800203 <phase>package</phase>
204 <goals>
205 <goal>copy-resources</goal>
206 </goals>
207 <configuration>
208 <encoding>utf-8</encoding>
刘洪青51768cb2019-09-08 10:06:17 +0800209 <outputDirectory>${basedir}/target/certs/jwt</outputDirectory>
刘洪青dde4e212019-09-04 22:13:23 +0800210 <overwrite>true</overwrite>
211 <resources>
212 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800213 <directory>${basedir}/../../certs/jwt</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800214 </resource>
215 </resources>
216 </configuration>
217 </execution>
218 </executions>
219 </plugin> -->
220
221
222 <plugin>
223 <groupId>org.springframework.boot</groupId>
224 <artifactId>spring-boot-maven-plugin</artifactId>
225 </plugin>
226
227 <plugin>
228 <groupId>com.spotify</groupId>
229 <artifactId>dockerfile-maven-plugin</artifactId>
230 <configuration>
231 <skip>false</skip>
232 </configuration>
233 </plugin>
234
235 </plugins>
236
237 </build>
238
239</project>