blob: 81e4eb9125c9406ba3d1574362156cafd8a92f17 [file] [log] [blame]
刘洪青ffe2f412019-10-11 10:25:26 +08001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 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-admin-bff-parent</artifactId>
9 <version>0.0.2-SNAPSHOT</version>
10 </parent>
11
12 <groupId>com.supwisdom.institute</groupId>
13 <artifactId>sw-backend-admin-bff</artifactId>
14 <version>0.0.2-SNAPSHOT</version>
15 <packaging>jar</packaging>
16
17 <name>Supwisdom Backend Framework Admin Backend for Frontend</name>
18 <description>Supwisdom Backend Framework Admin Backend for Frontend project</description>
19
20 <properties>
21 <start-class>com.supwisdom.institute.backend.admin.bff.Application</start-class>
22 </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>
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-starter</artifactId>
35 </dependency>
36
37 <!-- 微服务 健康监控 -->
38 <dependency>
39 <groupId>org.springframework.boot</groupId>
40 <artifactId>spring-boot-starter-actuator</artifactId>
41 </dependency>
42
43 <dependency>
44 <groupId>org.springframework.boot</groupId>
45 <artifactId>spring-boot-starter-web</artifactId>
46 </dependency>
47
48
49 <dependency>
50 <groupId>org.springframework.cloud</groupId>
51 <artifactId>spring-cloud-starter-openfeign</artifactId>
52 </dependency>
53 <!-- openfeign's dependency -->
54 <dependency>
55 <groupId>com.netflix.feign</groupId>
56 <artifactId>feign-httpclient</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.httpcomponents</groupId>
60 <artifactId>httpclient</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.httpcomponents</groupId>
64 <artifactId>httpcore</artifactId>
65 </dependency>
66
67
68 <dependency>
69 <groupId>com.supwisdom.infras</groupId>
70 <artifactId>infras-online-doc</artifactId>
71 </dependency>
72
73
74 <!-- <dependency>
75 <groupId>com.supwisdom.infras</groupId>
76 <artifactId>infras-mvc</artifactId>
77 </dependency> -->
78
79 <!-- <dependency>
80 <groupId>com.supwisdom.infras</groupId>
81 <artifactId>infras-object-mapper</artifactId>
82 </dependency>
83
84 <dependency>
85 <groupId>com.supwisdom.infras</groupId>
86 <artifactId>infras-i18n</artifactId>
87 </dependency>
88
89 <dependency>
90 <groupId>com.supwisdom.infras</groupId>
91 <artifactId>infras-lang</artifactId>
92 </dependency> -->
93
94
95 <dependency>
96 <groupId>com.supwisdom.institute</groupId>
97 <artifactId>sw-backend-common-framework</artifactId>
98 </dependency>
99
100
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
111 <!-- 热部署,无需重启项目 -->
112 <dependency>
113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-devtools</artifactId>
115 <scope>runtime</scope>
116 </dependency>
117
118
119 <dependency>
120 <groupId>org.springframework.boot</groupId>
121 <artifactId>spring-boot-starter-test</artifactId>
122 <scope>test</scope>
123 </dependency>
124
125 </dependencies>
126
127 <build>
128 <finalName>${project.artifactId}</finalName>
129
130 <plugins>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-compiler-plugin</artifactId>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-failsafe-plugin</artifactId>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-javadoc-plugin</artifactId>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-release-plugin</artifactId>
146 </plugin>
147 <plugin>
148 <groupId>org.jacoco</groupId>
149 <artifactId>jacoco-maven-plugin</artifactId>
150 </plugin>
151
152
153 <!-- <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-resources-plugin</artifactId>
156 <version>2.4.3</version>
157 <configuration>
158 <encoding>${project.build.sourceEncoding}</encoding>
159 </configuration>
160 <executions>
161 <execution>
162 <id>copy-doc-resources</id>
163 <phase>package</phase>
164 <goals>
165 <goal>copy-resources</goal>
166 </goals>
167 <configuration>
168 <encoding>utf-8</encoding>
169 <outputDirectory>${basedir}/target/doc</outputDirectory>
170 <overwrite>true</overwrite>
171 <resources>
172 <resource>
173 <directory>${basedir}/../doc</directory>
174 </resource>
175 </resources>
176 </configuration>
177 </execution>
178 <execution>
179 <id>copy-api-docs-resources</id>
180 <phase>package</phase>
181 <goals>
182 <goal>copy-resources</goal>
183 </goals>
184 <configuration>
185 <encoding>utf-8</encoding>
186 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
187 <overwrite>true</overwrite>
188 <resources>
189 <resource>
190 <directory>${basedir}/../api-docs</directory>
191 </resource>
192 </resources>
193 </configuration>
194 </execution>
195 </executions>
196 </plugin> -->
197
198
199 <plugin>
200 <groupId>org.springframework.boot</groupId>
201 <artifactId>spring-boot-maven-plugin</artifactId>
202 </plugin>
203
204 <plugin>
205 <groupId>com.spotify</groupId>
206 <artifactId>dockerfile-maven-plugin</artifactId>
207 <configuration>
208 <skip>false</skip>
209 </configuration>
210 </plugin>
211
212 </plugins>
213
214 </build>
215
216</project>