blob: f7fb56381ae0dace1b0cdc55528bbd33e6214eee [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>
91 <groupId>org.apache.httpcomponents</groupId>
92 <artifactId>httpclient</artifactId>
93 </dependency>
刘洪青dde4e212019-09-04 22:13:23 +080094
95
96 <dependency>
97 <groupId>io.springfox</groupId>
98 <artifactId>springfox-swagger2</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>io.springfox</groupId>
102 <artifactId>springfox-swagger-ui</artifactId>
103 </dependency>
104
105
106 <dependency>
107 <groupId>mysql</groupId>
108 <artifactId>mysql-connector-java</artifactId>
109 <scope>runtime</scope>
110 </dependency>
111
112 <!-- 热部署,无需重启项目 -->
113 <dependency>
114 <groupId>org.springframework.boot</groupId>
115 <artifactId>spring-boot-devtools</artifactId>
116 <scope>runtime</scope>
117 </dependency>
118
119
120 <dependency>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-starter-test</artifactId>
123 <scope>test</scope>
124 </dependency>
125
126 </dependencies>
127
128 <build>
129 <finalName>${project.artifactId}</finalName>
130
131 <plugins>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-compiler-plugin</artifactId>
135 </plugin>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-failsafe-plugin</artifactId>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-javadoc-plugin</artifactId>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-release-plugin</artifactId>
147 </plugin>
148 <plugin>
149 <groupId>org.jacoco</groupId>
150 <artifactId>jacoco-maven-plugin</artifactId>
151 </plugin>
152
153
154 <!-- <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-resources-plugin</artifactId>
157 <version>2.4.3</version>
158 <configuration>
159 <encoding>${project.build.sourceEncoding}</encoding>
160 </configuration>
161 <executions>
162 <execution>
163 <id>copy-doc-resources</id>
164 <phase>package</phase>
165 <goals>
166 <goal>copy-resources</goal>
167 </goals>
168 <configuration>
169 <encoding>utf-8</encoding>
170 <outputDirectory>${basedir}/target/doc</outputDirectory>
171 <overwrite>true</overwrite>
172 <resources>
173 <resource>
174 <directory>${basedir}/../doc</directory>
175 </resource>
176 </resources>
177 </configuration>
178 </execution>
179 <execution>
180 <id>copy-api-docs-resources</id>
181 <phase>package</phase>
182 <goals>
183 <goal>copy-resources</goal>
184 </goals>
185 <configuration>
186 <encoding>utf-8</encoding>
187 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
188 <overwrite>true</overwrite>
189 <resources>
190 <resource>
191 <directory>${basedir}/../api-docs</directory>
192 </resource>
193 </resources>
194 </configuration>
195 </execution>
196 </executions>
197 </plugin> -->
198
199
200 <plugin>
201 <groupId>org.springframework.boot</groupId>
202 <artifactId>spring-boot-maven-plugin</artifactId>
203 </plugin>
204
205 <plugin>
206 <groupId>com.spotify</groupId>
207 <artifactId>dockerfile-maven-plugin</artifactId>
208 <configuration>
209 <skip>false</skip>
210 </configuration>
211 </plugin>
212
213 </plugins>
214
215 </build>
216
217</project>