blob: 733629f62958b7afeefe7ae2fd9644a06ef725ef [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>
刘洪青a46c7c82019-10-11 09:36:10 +08009 <version>0.0.1</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>
刘洪青a46c7c82019-10-11 09:36:10 +080014 <version>0.0.1</version>
刘洪青dde4e212019-09-04 22:13:23 +080015 <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
刘洪青d3a55d42019-09-20 10:18:03 +080061 <dependency>
62 <groupId>org.apache.httpcomponents</groupId>
63 <artifactId>httpclient</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>org.apache.httpcomponents</groupId>
67 <artifactId>httpcore</artifactId>
68 </dependency>
刘洪青dde4e212019-09-04 22:13:23 +080069
刘洪青51768cb2019-09-08 10:06:17 +080070
71 <!-- <dependency>
72 <groupId>com.supwisdom.infras</groupId>
刘洪青d3a55d42019-09-20 10:18:03 +080073 <artifactId>infras-online-doc</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +080074 </dependency> -->
75
76
77 <dependency>
78 <groupId>com.supwisdom.infras</groupId>
79 <artifactId>infras-security</artifactId>
80 </dependency>
81
82 <dependency>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-security</artifactId>
85 </dependency>
86
87 <dependency>
88 <groupId>io.jsonwebtoken</groupId>
89 <artifactId>jjwt</artifactId>
90 <version>0.9.1</version>
91 </dependency>
92
93 <dependency>
94 <groupId>org.springframework.security</groupId>
95 <artifactId>spring-security-cas</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +080096 </dependency>
97
98
99 <dependency>
100 <groupId>com.supwisdom.institute</groupId>
101 <artifactId>sw-backend-common-framework</artifactId>
102 </dependency>
刘洪青98963ab2019-09-05 18:10:09 +0800103
刘洪青4fa11832019-09-19 18:06:26 +0800104 <dependency>
105 <groupId>commons-codec</groupId>
106 <artifactId>commons-codec</artifactId>
107 </dependency>
108
刘洪青51768cb2019-09-08 10:06:17 +0800109 <dependency>
110 <groupId>com.alibaba</groupId>
111 <artifactId>fastjson</artifactId>
112 </dependency>
刘洪青dde4e212019-09-04 22:13:23 +0800113
114
115 <dependency>
116 <groupId>io.springfox</groupId>
117 <artifactId>springfox-swagger2</artifactId>
118 </dependency>
119 <dependency>
120 <groupId>io.springfox</groupId>
121 <artifactId>springfox-swagger-ui</artifactId>
122 </dependency>
123
124
刘洪青dde4e212019-09-04 22:13:23 +0800125 <!-- 热部署,无需重启项目 -->
126 <dependency>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-devtools</artifactId>
129 <scope>runtime</scope>
130 </dependency>
131
刘洪青dde4e212019-09-04 22:13:23 +0800132 <dependency>
133 <groupId>org.springframework.boot</groupId>
134 <artifactId>spring-boot-starter-test</artifactId>
135 <scope>test</scope>
136 </dependency>
137
138 </dependencies>
139
140 <build>
141 <finalName>${project.artifactId}</finalName>
142
143 <plugins>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-compiler-plugin</artifactId>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-failsafe-plugin</artifactId>
151 </plugin>
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-javadoc-plugin</artifactId>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-release-plugin</artifactId>
159 </plugin>
160 <plugin>
161 <groupId>org.jacoco</groupId>
162 <artifactId>jacoco-maven-plugin</artifactId>
163 </plugin>
164
165
166 <!-- <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-resources-plugin</artifactId>
刘洪青dde4e212019-09-04 22:13:23 +0800169 <configuration>
170 <encoding>${project.build.sourceEncoding}</encoding>
171 </configuration>
172 <executions>
173 <execution>
174 <id>copy-doc-resources</id>
175 <phase>package</phase>
176 <goals>
177 <goal>copy-resources</goal>
178 </goals>
179 <configuration>
180 <encoding>utf-8</encoding>
181 <outputDirectory>${basedir}/target/doc</outputDirectory>
182 <overwrite>true</overwrite>
183 <resources>
184 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800185 <directory>${basedir}/../../doc</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800186 </resource>
187 </resources>
188 </configuration>
189 </execution>
190 <execution>
刘洪青51768cb2019-09-08 10:06:17 +0800191 <id>copy-certs-jwt-resources</id>
刘洪青dde4e212019-09-04 22:13:23 +0800192 <phase>package</phase>
193 <goals>
194 <goal>copy-resources</goal>
195 </goals>
196 <configuration>
197 <encoding>utf-8</encoding>
刘洪青51768cb2019-09-08 10:06:17 +0800198 <outputDirectory>${basedir}/target/certs/jwt</outputDirectory>
刘洪青dde4e212019-09-04 22:13:23 +0800199 <overwrite>true</overwrite>
200 <resources>
201 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800202 <directory>${basedir}/../../certs/jwt</directory>
刘洪青dde4e212019-09-04 22:13:23 +0800203 </resource>
204 </resources>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin> -->
209
210
211 <plugin>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot-maven-plugin</artifactId>
214 </plugin>
215
216 <plugin>
217 <groupId>com.spotify</groupId>
218 <artifactId>dockerfile-maven-plugin</artifactId>
219 <configuration>
220 <skip>false</skip>
221 </configuration>
222 </plugin>
223
224 </plugins>
225
226 </build>
227
228</project>