blob: 013b8c2207cebbbbf6f26d90684cd4992fd1d027 [file] [log] [blame]
刘洪青dde4e212019-09-04 22:13:23 +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-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-aggr</artifactId>
15 <version>0.0.1-SNAPSHOT</version>
16 <packaging>jar</packaging>
17
18 <name>Supwisdom Backend Framework Admin Aggregator API</name>
19 <description>Supwisdom Backend Framework Admin Aggregator API project</description>
20
21 <properties>
22 <start-class>com.supwisdom.institute.backend.admin.aggr.Application</start-class>
23 </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>
34 <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
44
45 <dependency>
46 <groupId>org.springframework.cloud</groupId>
47 <artifactId>spring-cloud-starter-openfeign</artifactId>
48 </dependency>
49
50
51 <dependency>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-web</artifactId>
54 </dependency>
55
56 <dependency>
57 <groupId>com.supwisdom.infras</groupId>
58 <artifactId>infras-online-doc</artifactId>
59 </dependency>
60
61
62 <!-- <dependency>
63 <groupId>com.supwisdom.infras</groupId>
64 <artifactId>infras-mvc</artifactId>
65 </dependency> -->
66
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>
80 </dependency>
81
82
83 <dependency>
84 <groupId>com.supwisdom.institute</groupId>
85 <artifactId>sw-backend-common-framework</artifactId>
86 </dependency>
刘洪青61ecc0c2019-09-04 22:22:12 +080087
88
89 <!-- openfeign's dependency -->
90 <dependency>
刘洪青98963ab2019-09-05 18:10:09 +080091 <groupId>com.netflix.feign</groupId>
92 <artifactId>feign-httpclient</artifactId>
93 </dependency>
94
95 <!-- <dependency>
刘洪青61ecc0c2019-09-04 22:22:12 +080096 <groupId>org.apache.httpcomponents</groupId>
97 <artifactId>httpclient</artifactId>
刘洪青98963ab2019-09-05 18:10:09 +080098 </dependency> -->
刘洪青dde4e212019-09-04 22:13:23 +080099
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 <dependency>
112 <groupId>mysql</groupId>
113 <artifactId>mysql-connector-java</artifactId>
114 <scope>runtime</scope>
115 </dependency>
116
117 <!-- 热部署,无需重启项目 -->
118 <dependency>
119 <groupId>org.springframework.boot</groupId>
120 <artifactId>spring-boot-devtools</artifactId>
121 <scope>runtime</scope>
122 </dependency>
123
124
125 <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>
162 <version>2.4.3</version>
163 <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>
179 <directory>${basedir}/../doc</directory>
180 </resource>
181 </resources>
182 </configuration>
183 </execution>
184 <execution>
185 <id>copy-api-docs-resources</id>
186 <phase>package</phase>
187 <goals>
188 <goal>copy-resources</goal>
189 </goals>
190 <configuration>
191 <encoding>utf-8</encoding>
192 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
193 <overwrite>true</overwrite>
194 <resources>
195 <resource>
196 <directory>${basedir}/../api-docs</directory>
197 </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>