blob: 7f39a11e8feb6bc9d74c2164139d41c7b4670e53 [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
刘洪青51768cb2019-09-08 10:06:17 +0800115
116 <dependency>
117 <groupId>com.alibaba</groupId>
118 <artifactId>fastjson</artifactId>
119 </dependency>
刘洪青dde4e212019-09-04 22:13:23 +0800120
121
122 <dependency>
123 <groupId>io.springfox</groupId>
124 <artifactId>springfox-swagger2</artifactId>
125 </dependency>
126 <dependency>
127 <groupId>io.springfox</groupId>
128 <artifactId>springfox-swagger-ui</artifactId>
129 </dependency>
130
131
刘洪青dde4e212019-09-04 22:13:23 +0800132 <!-- 热部署,无需重启项目 -->
133 <dependency>
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-devtools</artifactId>
136 <scope>runtime</scope>
137 </dependency>
138
刘洪青dde4e212019-09-04 22:13:23 +0800139 <dependency>
140 <groupId>org.springframework.boot</groupId>
141 <artifactId>spring-boot-starter-test</artifactId>
142 <scope>test</scope>
143 </dependency>
144
145 </dependencies>
146
147 <build>
148 <finalName>${project.artifactId}</finalName>
149
150 <plugins>
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-compiler-plugin</artifactId>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-failsafe-plugin</artifactId>
158 </plugin>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-javadoc-plugin</artifactId>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-release-plugin</artifactId>
166 </plugin>
167 <plugin>
168 <groupId>org.jacoco</groupId>
169 <artifactId>jacoco-maven-plugin</artifactId>
170 </plugin>
171
172
173 <!-- <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-resources-plugin</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +0800176 <configuration>
177 <encoding>${project.build.sourceEncoding}</encoding>
178 </configuration>
179 <executions>
180 <execution>
181 <id>copy-doc-resources</id>
182 <phase>package</phase>
183 <goals>
184 <goal>copy-resources</goal>
185 </goals>
186 <configuration>
187 <encoding>utf-8</encoding>
188 <outputDirectory>${basedir}/target/doc</outputDirectory>
189 <overwrite>true</overwrite>
190 <resources>
191 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800192 <directory>${basedir}/../../doc</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800193 </resource>
194 </resources>
195 </configuration>
196 </execution>
197 <execution>
刘洪青51768cb2019-09-08 10:06:17 +0800198 <id>copy-certs-jwt-resources</id>
刘洪青dde4e212019-09-04 22:13:23 +0800199 <phase>package</phase>
200 <goals>
201 <goal>copy-resources</goal>
202 </goals>
203 <configuration>
204 <encoding>utf-8</encoding>
刘洪青51768cb2019-09-08 10:06:17 +0800205 <outputDirectory>${basedir}/target/certs/jwt</outputDirectory>
刘洪青dde4e212019-09-04 22:13:23 +0800206 <overwrite>true</overwrite>
207 <resources>
208 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800209 <directory>${basedir}/../../certs/jwt</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800210 </resource>
211 </resources>
212 </configuration>
213 </execution>
214 </executions>
215 </plugin> -->
216
217
218 <plugin>
219 <groupId>org.springframework.boot</groupId>
220 <artifactId>spring-boot-maven-plugin</artifactId>
221 </plugin>
222
223 <plugin>
224 <groupId>com.spotify</groupId>
225 <artifactId>dockerfile-maven-plugin</artifactId>
226 <configuration>
227 <skip>false</skip>
228 </configuration>
229 </plugin>
230
231 </plugins>
232
233 </build>
234
235</project>