blob: b34afc37ebd5004ca067a2954c56522117b90a2f [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>
刘洪青ff545bc2019-10-11 10:08:47 +08009 <version>0.0.2-SNAPSHOT</version>
刘洪青e071d362019-08-16 09:39:49 +080010 <relativePath>../../</relativePath>
11 </parent>
12
13 <groupId>com.supwisdom.institute</groupId>
14 <artifactId>sw-backend-admin-sa</artifactId>
刘洪青ff545bc2019-10-11 10:08:47 +080015 <version>0.0.2-SNAPSHOT</version>
刘洪青e071d362019-08-16 09:39:49 +080016 <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
刘洪青51ce46f2019-09-20 12:35:58 +080061 <!-- <dependency>
刘洪青e071d362019-08-16 09:39:49 +080062 <groupId>com.supwisdom.infras</groupId>
63 <artifactId>infras-object-mapper</artifactId>
刘洪青51ce46f2019-09-20 12:35:58 +080064 </dependency> -->
刘洪青e071d362019-08-16 09:39:49 +080065
刘洪青51ce46f2019-09-20 12:35:58 +080066 <!-- <dependency>
刘洪青e071d362019-08-16 09:39:49 +080067 <groupId>com.supwisdom.infras</groupId>
68 <artifactId>infras-i18n</artifactId>
刘洪青51ce46f2019-09-20 12:35:58 +080069 </dependency> -->
刘洪青e071d362019-08-16 09:39:49 +080070
刘洪青51ce46f2019-09-20 12:35:58 +080071 <!-- <dependency>
刘洪青e071d362019-08-16 09:39:49 +080072 <groupId>com.supwisdom.infras</groupId>
73 <artifactId>infras-lang</artifactId>
刘洪青51ce46f2019-09-20 12:35:58 +080074 </dependency> -->
刘洪青e071d362019-08-16 09:39:49 +080075
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>
刘洪青e071d362019-08-16 09:39:49 +080081
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>