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