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