blob: 11fca55296b2a2ac888cdd17a638f760875caa50 [file] [log] [blame]
刘洪青51768cb2019-09-08 10:06:17 +08001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
刘洪青e071d362019-08-16 09:39:49 +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>
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>
刘洪青51768cb2019-09-08 10:06:17 +080022 <start-class>com.supwisdom.institute.backend.admin.bff.Application</start-class>
刘洪青e071d362019-08-16 09:39:49 +080023 </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>
刘洪青e071d362019-08-16 09:39:49 +080034 <groupId>org.springframework.boot</groupId>
35 <artifactId>spring-boot-starter</artifactId>
36 </dependency>
37
38 <!-- 微服务 健康监控 -->
39 <dependency>
40 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-starter-actuator</artifactId>
42 </dependency>
43
刘洪青51768cb2019-09-08 10:06:17 +080044
刘洪青e071d362019-08-16 09:39:49 +080045 <dependency>
46 <groupId>org.springframework.cloud</groupId>
刘洪青51768cb2019-09-08 10:06:17 +080047 <artifactId>spring-cloud-starter-openfeign</artifactId>
刘洪青e071d362019-08-16 09:39:49 +080048 </dependency>
49
50
刘洪青51768cb2019-09-08 10:06:17 +080051 <dependency>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-web</artifactId>
54 </dependency>
55
56 <dependency>
刘洪青e071d362019-08-16 09:39:49 +080057 <groupId>com.supwisdom.infras</groupId>
58 <artifactId>infras-online-doc</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +080059 </dependency>
刘洪青e071d362019-08-16 09:39:49 +080060
61
62 <!-- <dependency>
63 <groupId>com.supwisdom.infras</groupId>
64 <artifactId>infras-mvc</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +080065 </dependency> -->
刘洪青e071d362019-08-16 09:39:49 +080066
67 <dependency>
68 <groupId>com.supwisdom.infras</groupId>
69 <artifactId>infras-object-mapper</artifactId>
70 </dependency>
71
72 <dependency>
73 <groupId>com.supwisdom.infras</groupId>
74 <artifactId>infras-i18n</artifactId>
75 </dependency>
76
77 <dependency>
78 <groupId>com.supwisdom.infras</groupId>
79 <artifactId>infras-lang</artifactId>
刘洪青e071d362019-08-16 09:39:49 +080080 </dependency>
81
82
83 <dependency>
84 <groupId>com.supwisdom.institute</groupId>
85 <artifactId>sw-backend-common-framework</artifactId>
86 </dependency>
刘洪青51768cb2019-09-08 10:06:17 +080087
88
89 <!-- openfeign's dependency -->
刘洪青e071d362019-08-16 09:39:49 +080090 <dependency>
刘洪青51768cb2019-09-08 10:06:17 +080091 <groupId>com.netflix.feign</groupId>
92 <artifactId>feign-httpclient</artifactId>
刘洪青e071d362019-08-16 09:39:49 +080093 </dependency>
刘洪青fc09a452019-09-09 09:27:08 +080094 <dependency>
刘洪青51768cb2019-09-08 10:06:17 +080095 <groupId>org.apache.httpcomponents</groupId>
96 <artifactId>httpclient</artifactId>
刘洪青fc09a452019-09-09 09:27:08 +080097 </dependency>
98 <dependency>
99 <groupId>org.apache.httpcomponents</groupId>
100 <artifactId>httpcore</artifactId>
101 </dependency>
刘洪青51768cb2019-09-08 10:06:17 +0800102
刘洪青e071d362019-08-16 09:39:49 +0800103
104 <dependency>
105 <groupId>io.springfox</groupId>
106 <artifactId>springfox-swagger2</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>io.springfox</groupId>
110 <artifactId>springfox-swagger-ui</artifactId>
111 </dependency>
112
113
刘洪青51768cb2019-09-08 10:06:17 +0800114 <dependency>
115 <groupId>mysql</groupId>
116 <artifactId>mysql-connector-java</artifactId>
117 <scope>runtime</scope>
118 </dependency>
119
刘洪青e071d362019-08-16 09:39:49 +0800120 <!-- 热部署,无需重启项目 -->
121 <dependency>
122 <groupId>org.springframework.boot</groupId>
123 <artifactId>spring-boot-devtools</artifactId>
124 <scope>runtime</scope>
125 </dependency>
126
刘洪青51768cb2019-09-08 10:06:17 +0800127
刘洪青e071d362019-08-16 09:39:49 +0800128 <dependency>
129 <groupId>org.springframework.boot</groupId>
130 <artifactId>spring-boot-starter-test</artifactId>
131 <scope>test</scope>
132 </dependency>
133
134 </dependencies>
135
136 <build>
137 <finalName>${project.artifactId}</finalName>
138
139 <plugins>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-failsafe-plugin</artifactId>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-javadoc-plugin</artifactId>
151 </plugin>
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-release-plugin</artifactId>
155 </plugin>
156 <plugin>
157 <groupId>org.jacoco</groupId>
158 <artifactId>jacoco-maven-plugin</artifactId>
159 </plugin>
160
161
162 <!-- <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-resources-plugin</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +0800165 <version>2.4.3</version>
刘洪青e071d362019-08-16 09:39:49 +0800166 <configuration>
167 <encoding>${project.build.sourceEncoding}</encoding>
168 </configuration>
169 <executions>
170 <execution>
171 <id>copy-doc-resources</id>
172 <phase>package</phase>
173 <goals>
174 <goal>copy-resources</goal>
175 </goals>
176 <configuration>
177 <encoding>utf-8</encoding>
178 <outputDirectory>${basedir}/target/doc</outputDirectory>
179 <overwrite>true</overwrite>
180 <resources>
181 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800182 <directory>${basedir}/../doc</directory>
刘洪青e071d362019-08-16 09:39:49 +0800183 </resource>
184 </resources>
185 </configuration>
186 </execution>
187 <execution>
刘洪青51768cb2019-09-08 10:06:17 +0800188 <id>copy-api-docs-resources</id>
刘洪青e071d362019-08-16 09:39:49 +0800189 <phase>package</phase>
190 <goals>
191 <goal>copy-resources</goal>
192 </goals>
193 <configuration>
194 <encoding>utf-8</encoding>
刘洪青51768cb2019-09-08 10:06:17 +0800195 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
刘洪青e071d362019-08-16 09:39:49 +0800196 <overwrite>true</overwrite>
197 <resources>
198 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800199 <directory>${basedir}/../api-docs</directory>
刘洪青e071d362019-08-16 09:39:49 +0800200 </resource>
201 </resources>
202 </configuration>
203 </execution>
204 </executions>
205 </plugin> -->
206
207
208 <plugin>
209 <groupId>org.springframework.boot</groupId>
210 <artifactId>spring-boot-maven-plugin</artifactId>
211 </plugin>
212
213 <plugin>
214 <groupId>com.spotify</groupId>
215 <artifactId>dockerfile-maven-plugin</artifactId>
216 <configuration>
217 <skip>false</skip>
218 </configuration>
219 </plugin>
220
221 </plugins>
222
223 </build>
224
225</project>