blob: d141279f2e840a8996d5acbb9e1920e3955e847d [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>
94
刘洪青51768cb2019-09-08 10:06:17 +080095 <!-- <dependency>
96 <groupId>org.apache.httpcomponents</groupId>
97 <artifactId>httpclient</artifactId>
98 </dependency> -->
99
刘洪青e071d362019-08-16 09:39:49 +0800100
101 <dependency>
102 <groupId>io.springfox</groupId>
103 <artifactId>springfox-swagger2</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>io.springfox</groupId>
107 <artifactId>springfox-swagger-ui</artifactId>
108 </dependency>
109
110
刘洪青51768cb2019-09-08 10:06:17 +0800111 <dependency>
112 <groupId>mysql</groupId>
113 <artifactId>mysql-connector-java</artifactId>
114 <scope>runtime</scope>
115 </dependency>
116
刘洪青e071d362019-08-16 09:39:49 +0800117 <!-- 热部署,无需重启项目 -->
118 <dependency>
119 <groupId>org.springframework.boot</groupId>
120 <artifactId>spring-boot-devtools</artifactId>
121 <scope>runtime</scope>
122 </dependency>
123
刘洪青51768cb2019-09-08 10:06:17 +0800124
刘洪青e071d362019-08-16 09:39:49 +0800125 <dependency>
126 <groupId>org.springframework.boot</groupId>
127 <artifactId>spring-boot-starter-test</artifactId>
128 <scope>test</scope>
129 </dependency>
130
131 </dependencies>
132
133 <build>
134 <finalName>${project.artifactId}</finalName>
135
136 <plugins>
137 <plugin>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-compiler-plugin</artifactId>
140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-failsafe-plugin</artifactId>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-javadoc-plugin</artifactId>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-release-plugin</artifactId>
152 </plugin>
153 <plugin>
154 <groupId>org.jacoco</groupId>
155 <artifactId>jacoco-maven-plugin</artifactId>
156 </plugin>
157
158
159 <!-- <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-resources-plugin</artifactId>
刘洪青51768cb2019-09-08 10:06:17 +0800162 <version>2.4.3</version>
刘洪青e071d362019-08-16 09:39:49 +0800163 <configuration>
164 <encoding>${project.build.sourceEncoding}</encoding>
165 </configuration>
166 <executions>
167 <execution>
168 <id>copy-doc-resources</id>
169 <phase>package</phase>
170 <goals>
171 <goal>copy-resources</goal>
172 </goals>
173 <configuration>
174 <encoding>utf-8</encoding>
175 <outputDirectory>${basedir}/target/doc</outputDirectory>
176 <overwrite>true</overwrite>
177 <resources>
178 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800179 <directory>${basedir}/../doc</directory>
刘洪青e071d362019-08-16 09:39:49 +0800180 </resource>
181 </resources>
182 </configuration>
183 </execution>
184 <execution>
刘洪青51768cb2019-09-08 10:06:17 +0800185 <id>copy-api-docs-resources</id>
刘洪青e071d362019-08-16 09:39:49 +0800186 <phase>package</phase>
187 <goals>
188 <goal>copy-resources</goal>
189 </goals>
190 <configuration>
191 <encoding>utf-8</encoding>
刘洪青51768cb2019-09-08 10:06:17 +0800192 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
刘洪青e071d362019-08-16 09:39:49 +0800193 <overwrite>true</overwrite>
194 <resources>
195 <resource>
刘洪青51768cb2019-09-08 10:06:17 +0800196 <directory>${basedir}/../api-docs</directory>
刘洪青e071d362019-08-16 09:39:49 +0800197 </resource>
198 </resources>
199 </configuration>
200 </execution>
201 </executions>
202 </plugin> -->
203
204
205 <plugin>
206 <groupId>org.springframework.boot</groupId>
207 <artifactId>spring-boot-maven-plugin</artifactId>
208 </plugin>
209
210 <plugin>
211 <groupId>com.spotify</groupId>
212 <artifactId>dockerfile-maven-plugin</artifactId>
213 <configuration>
214 <skip>false</skip>
215 </configuration>
216 </plugin>
217
218 </plugins>
219
220 </build>
221
222</project>