blob: aabc09e0e07c7bf80f6decb926b2077edc43939a [file] [log] [blame]
刘洪青26c85f72019-09-29 18:19:27 +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-biz-sa</artifactId>
15 <version>0.0.1-SNAPSHOT</version>
16 <packaging>jar</packaging>
17
18 <name>Supwisdom Backend Framework Biz Super Admin</name>
19 <description>Supwisdom Backend Framework Biz Super Admin project</description>
20
21 <properties>
22 <start-class>com.supwisdom.institute.backend.biz.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
39 <dependency>
40 <groupId>org.springframework.cloud</groupId>
41 <artifactId>spring-cloud-starter-openfeign</artifactId>
42 </dependency>
43
44
45 <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
56 <!-- <dependency>
57 <groupId>com.supwisdom.infras</groupId>
58 <artifactId>infras-mvc</artifactId>
59 </dependency> -->
60
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>
79 <artifactId>sw-backend-biz-api</artifactId>
80 </dependency>
81
82
83 <dependency>
84 <groupId>io.springfox</groupId>
85 <artifactId>springfox-swagger2</artifactId>
86 </dependency>
87 <dependency>
88 <groupId>io.springfox</groupId>
89 <artifactId>springfox-swagger-ui</artifactId>
90 </dependency>
91
92
93 <dependency>
94 <groupId>mysql</groupId>
95 <artifactId>mysql-connector-java</artifactId>
96 <scope>runtime</scope>
97 </dependency>
98
99 <!-- 热部署,无需重启项目 -->
100 <dependency>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-devtools</artifactId>
103 <scope>runtime</scope>
104 </dependency>
105
106
107 <dependency>
108 <groupId>org.springframework.boot</groupId>
109 <artifactId>spring-boot-starter-test</artifactId>
110 <scope>test</scope>
111 </dependency>
112
113 </dependencies>
114
115 <build>
116 <finalName>${project.artifactId}</finalName>
117
118 <plugins>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-failsafe-plugin</artifactId>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-javadoc-plugin</artifactId>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-release-plugin</artifactId>
134 </plugin>
135 <plugin>
136 <groupId>org.jacoco</groupId>
137 <artifactId>jacoco-maven-plugin</artifactId>
138 </plugin>
139
140
141 <!-- <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-resources-plugin</artifactId>
144 <version>2.4.3</version>
145 <configuration>
146 <encoding>${project.build.sourceEncoding}</encoding>
147 </configuration>
148 <executions>
149 <execution>
150 <id>copy-doc-resources</id>
151 <phase>package</phase>
152 <goals>
153 <goal>copy-resources</goal>
154 </goals>
155 <configuration>
156 <encoding>utf-8</encoding>
157 <outputDirectory>${basedir}/target/doc</outputDirectory>
158 <overwrite>true</overwrite>
159 <resources>
160 <resource>
161 <directory>${basedir}/../doc</directory>
162 </resource>
163 </resources>
164 </configuration>
165 </execution>
166 <execution>
167 <id>copy-api-docs-resources</id>
168 <phase>package</phase>
169 <goals>
170 <goal>copy-resources</goal>
171 </goals>
172 <configuration>
173 <encoding>utf-8</encoding>
174 <outputDirectory>${basedir}/target/api-docs</outputDirectory>
175 <overwrite>true</overwrite>
176 <resources>
177 <resource>
178 <directory>${basedir}/../api-docs</directory>
179 </resource>
180 </resources>
181 </configuration>
182 </execution>
183 </executions>
184 </plugin> -->
185
186
187 <plugin>
188 <groupId>org.springframework.boot</groupId>
189 <artifactId>spring-boot-maven-plugin</artifactId>
190 </plugin>
191
192 <plugin>
193 <groupId>com.spotify</groupId>
194 <artifactId>dockerfile-maven-plugin</artifactId>
195 <configuration>
196 <skip>false</skip>
197 </configuration>
198 </plugin>
199
200 </plugins>
201
202 </build>
203
204</project>