blob: 54c30770046792988c1c7d38b4cb89f2d4f4d167 [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-sa-parent</artifactId>
9 <version>0.0.2-SNAPSHOT</version>
10 </parent>
11
12 <groupId>com.supwisdom.institute</groupId>
13 <artifactId>sw-backend-admin-sa</artifactId>
14 <version>0.0.2-SNAPSHOT</version>
15 <packaging>jar</packaging>
16
17 <name>Supwisdom Backend Framework Admin SuperAdmin API</name>
18 <description>Supwisdom Backend Framework Admin SuperAdmin API project</description>
19
20 <properties>
21 <start-class>com.supwisdom.institute.backend.admin.sa.Application</start-class>
22 </properties>
23
24 <dependencies>
25
26 <dependency>
27 <groupId>org.springframework.boot</groupId>
28 <artifactId>spring-boot-starter</artifactId>
29 </dependency>
30
31 <!-- 微服务 健康监控 -->
32 <dependency>
33 <groupId>org.springframework.boot</groupId>
34 <artifactId>spring-boot-starter-actuator</artifactId>
35 </dependency>
36
37
38 <dependency>
39 <groupId>org.springframework.cloud</groupId>
40 <artifactId>spring-cloud-starter-openfeign</artifactId>
41 </dependency>
42
43
44 <dependency>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-web</artifactId>
47 </dependency>
48
49 <dependency>
50 <groupId>com.supwisdom.infras</groupId>
51 <artifactId>infras-online-doc</artifactId>
52 </dependency>
53
54
55 <!-- <dependency>
56 <groupId>com.supwisdom.infras</groupId>
57 <artifactId>infras-mvc</artifactId>
58 </dependency> -->
59
60 <!-- <dependency>
61 <groupId>com.supwisdom.infras</groupId>
62 <artifactId>infras-object-mapper</artifactId>
63 </dependency> -->
64
65 <!-- <dependency>
66 <groupId>com.supwisdom.infras</groupId>
67 <artifactId>infras-i18n</artifactId>
68 </dependency> -->
69
70 <!-- <dependency>
71 <groupId>com.supwisdom.infras</groupId>
72 <artifactId>infras-lang</artifactId>
73 </dependency> -->
74
75
76 <dependency>
77 <groupId>com.supwisdom.institute</groupId>
78 <artifactId>sw-backend-admin-base-api</artifactId>
79 </dependency>
80
81
82 <dependency>
83 <groupId>io.springfox</groupId>
84 <artifactId>springfox-swagger2</artifactId>
85 </dependency>
86 <dependency>
87 <groupId>io.springfox</groupId>
88 <artifactId>springfox-swagger-ui</artifactId>
89 </dependency>
90
91
92 <dependency>
93 <groupId>mysql</groupId>
94 <artifactId>mysql-connector-java</artifactId>
95 <scope>runtime</scope>
96 </dependency>
97
98 <!-- 热部署,无需重启项目 -->
99 <dependency>
100 <groupId>org.springframework.boot</groupId>
101 <artifactId>spring-boot-devtools</artifactId>
102 <scope>runtime</scope>
103 </dependency>
104
105
106 <dependency>
107 <groupId>org.springframework.boot</groupId>
108 <artifactId>spring-boot-starter-test</artifactId>
109 <scope>test</scope>
110 </dependency>
111
112 </dependencies>
113
114 <build>
115 <finalName>${project.artifactId}</finalName>
116
117 <plugins>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-failsafe-plugin</artifactId>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-javadoc-plugin</artifactId>
129 </plugin>
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-release-plugin</artifactId>
133 </plugin>
134 <plugin>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 </plugin>
138
139
140 <!-- <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-resources-plugin</artifactId>
143 <version>2.4.3</version>
144 <configuration>
145 <encoding>${project.build.sourceEncoding}</encoding>
146 </configuration>
147 <executions>
148 <execution>
149 <id>copy-doc-resources</id>
150 <phase>package</phase>
151 <goals>
152 <goal>copy-resources</goal>
153 </goals>
154 <configuration>
155 <encoding>utf-8</encoding>
156 <outputDirectory>${basedir}/target/doc</outputDirectory>
157 <overwrite>true</overwrite>
158 <resources>
159 <resource>
160 <directory>${basedir}/../doc</directory>
161 </resource>
162 </resources>
163 </configuration>
164 </execution>
165 <execution>
166 <id>copy-api-docs-resources</id>
167 <phase>package</phase>
168 <goals>
169 <goal>copy-resources</goal>
170 </goals>
171 <configuration>
172 <encoding>utf-8</encoding>
173 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
174 <overwrite>true</overwrite>
175 <resources>
176 <resource>
177 <directory>${basedir}/../api-docs</directory>
178 </resource>
179 </resources>
180 </configuration>
181 </execution>
182 </executions>
183 </plugin> -->
184
185
186 <plugin>
187 <groupId>org.springframework.boot</groupId>
188 <artifactId>spring-boot-maven-plugin</artifactId>
189 </plugin>
190
191 <plugin>
192 <groupId>com.spotify</groupId>
193 <artifactId>dockerfile-maven-plugin</artifactId>
194 <configuration>
195 <skip>false</skip>
196 </configuration>
197 </plugin>
198
199 </plugins>
200
201 </build>
202
203</project>