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