pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>net.1024lab</groupId>
  5. <artifactId>smart-admin-service-parent</artifactId>
  6. <version>1.0.0</version>
  7. <relativePath>../pom.xml</relativePath>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>smart-admin-api</artifactId>
  11. <packaging>jar</packaging>
  12. <name>smart-admin-api</name>
  13. <properties>
  14. <project.build.sourceEncodependencyManagementding>UTF-8</project.build.sourceEncodependencyManagementding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <!--springboot starter dependency begin -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-log4j2</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-aop</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <artifactId>spring-boot-starter-logging</artifactId>
  30. <groupId>org.springframework.boot</groupId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-quartz</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-validation</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-data-redis</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-websocket</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-mail</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-actuator</artifactId>
  66. <exclusions>
  67. <exclusion>
  68. <artifactId>logback-classic</artifactId>
  69. <groupId>ch.qos.logback</groupId>
  70. </exclusion>
  71. <exclusion>
  72. <artifactId>spring-boot-starter-logging</artifactId>
  73. <groupId>org.springframework.boot</groupId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-configuration-processor</artifactId>
  80. <optional>true</optional>
  81. </dependency>
  82. <!--springboot starter dependency end -->
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-boot-starter</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.baomidou</groupId>
  89. <artifactId>mybatis-plus-generate</artifactId>
  90. </dependency>
  91. <!--velocity begin-->
  92. <dependency>
  93. <artifactId>velocity</artifactId>
  94. <groupId>org.apache.velocity</groupId>
  95. <exclusions>
  96. <exclusion>
  97. <artifactId>commons-collections</artifactId>
  98. <groupId>commons-collections</groupId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.velocity</groupId>
  104. <artifactId>velocity-engine-core</artifactId>
  105. </dependency>
  106. <!--velocity end-->
  107. <!--fastjson -->
  108. <dependency>
  109. <groupId>com.alibaba</groupId>
  110. <artifactId>fastjson</artifactId>
  111. </dependency>
  112. <!-- druid -->
  113. <dependency>
  114. <groupId>com.alibaba</groupId>
  115. <artifactId>druid</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.baomidou</groupId>
  119. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  120. </dependency>
  121. <!-- p6spy -->
  122. <dependency>
  123. <groupId>p6spy</groupId>
  124. <artifactId>p6spy</artifactId>
  125. </dependency>
  126. <!-- swagger begin -->
  127. <dependency>
  128. <groupId>io.springfox</groupId>
  129. <artifactId>springfox-swagger2</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>io.springfox</groupId>
  133. <artifactId>springfox-swagger-ui</artifactId>
  134. </dependency>
  135. <!-- swagger end -->
  136. <!-- knife4j begin -->
  137. <dependency>
  138. <groupId>com.github.xiaoymin</groupId>
  139. <artifactId>knife4j-spring-boot-starter</artifactId>
  140. <version>${knife4j.version}</version>
  141. </dependency>
  142. <!-- knife4j end -->
  143. <!-- guava -->
  144. <dependency>
  145. <groupId>com.google.guava</groupId>
  146. <artifactId>guava</artifactId>
  147. </dependency>
  148. <!-- oss begin -->
  149. <dependency>
  150. <groupId>com.aliyun.oss</groupId>
  151. <artifactId>aliyun-sdk-oss</artifactId>
  152. <exclusions>
  153. <exclusion>
  154. <artifactId>commons-logging</artifactId>
  155. <groupId>commons-logging</groupId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.qiniu</groupId>
  161. <artifactId>qiniu-java-sdk</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>commons-fileupload</groupId>
  165. <artifactId>commons-fileupload</artifactId>
  166. </dependency>
  167. <!-- oss end -->
  168. <!--<dependency>-->
  169. <!--<groupId>org.springframework.boot</groupId>-->
  170. <!--<artifactId>spring-boot-devtools</artifactId>-->
  171. <!--<scope>runtime</scope>-->
  172. <!--<optional>true</optional>&lt;!&ndash; optional=true,依赖不会传递 &ndash;&gt;-->
  173. <!--</dependency>-->
  174. <!--jjwt-->
  175. <dependency>
  176. <groupId>io.jsonwebtoken</groupId>
  177. <artifactId>jjwt</artifactId>
  178. </dependency>
  179. <!-- easy poi begin -->
  180. <dependency>
  181. <groupId>cn.afterturn</groupId>
  182. <artifactId>easypoi-spring-boot-starter</artifactId>
  183. </dependency>
  184. <!-- easy poi end -->
  185. <dependency>
  186. <groupId>commons-beanutils</groupId>
  187. <artifactId>commons-beanutils</artifactId>
  188. <exclusions>
  189. <exclusion>
  190. <artifactId>commons-logging</artifactId>
  191. <groupId>commons-logging</groupId>
  192. </exclusion>
  193. </exclusions>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.mybatis</groupId>
  197. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  198. <version>1.0.1</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.commons</groupId>
  202. <artifactId>commons-pool2</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>mysql</groupId>
  206. <artifactId>mysql-connector-java</artifactId>
  207. </dependency>
  208. <!-- https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds -->
  209. <!-- https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc -->
  210. <dependency>
  211. <groupId>com.microsoft.sqlserver</groupId>
  212. <artifactId>mssql-jdbc</artifactId>
  213. <version>8.4.1.jre8</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.github.penggle</groupId>
  217. <artifactId>kaptcha</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  221. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.squareup.okhttp3</groupId>
  225. <artifactId>okhttp</artifactId>
  226. </dependency>
  227. <dependency>
  228. <groupId>eu.bitwalker</groupId>
  229. <artifactId>UserAgentUtils</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.projectlombok</groupId>
  233. <artifactId>lombok</artifactId>
  234. <scope>provided</scope>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.baomidou</groupId>
  238. <artifactId>mybatis-plus-generate</artifactId>
  239. <version>2.3</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>cn.hutool</groupId>
  243. <artifactId>hutool-all</artifactId>
  244. <version>5.3.0</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.ibeetl</groupId>
  248. <artifactId>beetl</artifactId>
  249. <version>2.9.3</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>com.github.binarywang</groupId>
  253. <artifactId>weixin-java-cp</artifactId>
  254. <version>3.9.0</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>com.alibaba</groupId>
  258. <artifactId>druid-spring-boot-starter</artifactId>
  259. </dependency>
  260. </dependencies>
  261. <build>
  262. <resources>
  263. <resource>
  264. <directory>src/main/java</directory>
  265. <includes>
  266. <include>**/*.*</include>
  267. </includes>
  268. </resource>
  269. <resource>
  270. <filtering>false</filtering>
  271. <directory>src/main/resources</directory>
  272. <excludes>
  273. <exclude>dev/*</exclude>
  274. <exclude>sit/*</exclude>
  275. <exclude>pre/*</exclude>
  276. <exclude>prod/*</exclude>
  277. </excludes>
  278. </resource>
  279. <resource>
  280. <directory>src/main/resources/${profiles.active}</directory>
  281. <filtering>true</filtering>
  282. <includes>
  283. <include>*.properties</include>
  284. <include>*.xml</include>
  285. </includes>
  286. </resource>
  287. </resources>
  288. <plugins>
  289. <plugin>
  290. <groupId>org.springframework.boot</groupId>
  291. <artifactId>spring-boot-maven-plugin</artifactId>
  292. <configuration>
  293. <fork>true</fork>
  294. </configuration>
  295. </plugin>
  296. <plugin>
  297. <groupId>org.apache.maven.plugins</groupId>
  298. <artifactId>maven-surefire-plugin</artifactId>
  299. <configuration>
  300. <testFailureIgnore>true</testFailureIgnore>
  301. </configuration>
  302. </plugin>
  303. </plugins>
  304. </build>
  305. </project>