pom.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.zhiqiyun</groupId>
  7. <artifactId>open-platform</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>1.8</maven.compiler.source>
  11. <maven.compiler.target>1.8</maven.compiler.target>
  12. <file.encoding>UTF-8</file.encoding>
  13. <junit.version>4.13.2</junit.version>
  14. <slf4j.version>1.7.36</slf4j.version>
  15. <commons-lang3.version>3.12.0</commons-lang3.version>
  16. <commons-codec.version>1.15</commons-codec.version>
  17. <ip2region.version>1.7.2</ip2region.version>
  18. <spring.version>5.3.14</spring.version>
  19. <spring-boot.version>2.6.3</spring-boot.version>
  20. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  21. <mybatis-spring-boot-starter.version>2.2.0</mybatis-spring-boot-starter.version>
  22. <mybatis.version>3.5.7</mybatis.version>
  23. <mybatis-plus-boot.version>3.5.1</mybatis-plus-boot.version>
  24. <lombok.version>1.18.22</lombok.version>
  25. <javax.servlet.version>4.0.1</javax.servlet.version>
  26. <okhttp.version>4.9.3</okhttp.version>
  27. <afirma-lib-jmimemagic.version>0.0.6</afirma-lib-jmimemagic.version>
  28. <thumbnailator.version>0.4.16</thumbnailator.version>
  29. <framework.version>1.0.18</framework.version>
  30. <db-migration.version>1.0.0</db-migration.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>com.dliyun</groupId>
  35. <artifactId>framework-sprint-boot</artifactId>
  36. <version>${framework.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.dliyun</groupId>
  40. <artifactId>framework-sdk</artifactId>
  41. <version>${framework.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.dliyun</groupId>
  45. <artifactId>framework-docs</artifactId>
  46. <version>${framework.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.dliyun</groupId>
  50. <artifactId>db-migration</artifactId>
  51. <version>${db-migration.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <version>${lombok.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.slf4j</groupId>
  60. <artifactId>slf4j-api</artifactId>
  61. <version>${slf4j.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. <version>${commons-lang3.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-web</artifactId>
  71. <version>${spring-boot.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-redis</artifactId>
  76. <version>${spring-boot.version}</version>
  77. </dependency>
  78. <!--Mysql相关包-->
  79. <dependency>
  80. <groupId>mysql</groupId>
  81. <artifactId>mysql-connector-java</artifactId>
  82. <version>${mysql-connector-java.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-jdbc</artifactId>
  87. <version>${spring-boot.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.baomidou</groupId>
  91. <artifactId>mybatis-plus-boot-starter</artifactId>
  92. <version>${mybatis-plus-boot.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-codec</groupId>
  96. <artifactId>commons-codec</artifactId>
  97. <version>${commons-codec.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.lionsoul</groupId>
  101. <artifactId>ip2region</artifactId>
  102. <version>${ip2region.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.squareup.okhttp3</groupId>
  106. <artifactId>okhttp</artifactId>
  107. <version>${okhttp.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>es.gob.afirma.lib</groupId>
  111. <artifactId>afirma-lib-jmimemagic</artifactId>
  112. <version>${afirma-lib-jmimemagic.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>net.coobird</groupId>
  116. <artifactId>thumbnailator</artifactId>
  117. <version>${thumbnailator.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>us.codecraft</groupId>
  121. <artifactId>webmagic-core</artifactId>
  122. <version>0.7.5</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>us.codecraft</groupId>
  126. <artifactId>webmagic-extension</artifactId>
  127. <version>0.7.5</version>
  128. </dependency>
  129. <!-- <dependency>-->
  130. <!-- <groupId>us.codecraft</groupId>-->
  131. <!-- <artifactId>webmagic-core</artifactId>-->
  132. <!-- <version>0.6.0</version>-->
  133. <!-- <exclusions>-->
  134. <!-- <exclusion>-->
  135. <!-- <groupId>org.slf4j</groupId>-->
  136. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  137. <!-- </exclusion>-->
  138. <!-- <exclusion>-->
  139. <!-- <artifactId>slf4j-api</artifactId>-->
  140. <!-- <groupId>org.slf4j</groupId>-->
  141. <!-- </exclusion>-->
  142. <!-- <exclusion>-->
  143. <!-- <artifactId>guava</artifactId>-->
  144. <!-- <groupId>com.google.guava</groupId>-->
  145. <!-- </exclusion>-->
  146. <!-- <exclusion>-->
  147. <!-- <artifactId>commons-lang3</artifactId>-->
  148. <!-- <groupId>org.apache.commons</groupId>-->
  149. <!-- </exclusion>-->
  150. <!-- </exclusions>-->
  151. <!-- </dependency>-->
  152. <!-- <dependency>-->
  153. <!-- <groupId>us.codecraft</groupId>-->
  154. <!-- <artifactId>webmagic-extension</artifactId>-->
  155. <!-- <version>0.6.0</version>-->
  156. <!-- <exclusions>-->
  157. <!-- <exclusion>-->
  158. <!-- <groupId>org.slf4j</groupId>-->
  159. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  160. <!-- </exclusion>-->
  161. <!-- </exclusions>-->
  162. <!-- </dependency>-->
  163. </dependencies>
  164. <build>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>3.8.1</version>
  170. <configuration>
  171. <source>${maven.compiler.source}</source>
  172. <target>${maven.compiler.target}</target>
  173. <encoding>UTF-8</encoding>
  174. </configuration>
  175. <dependencies>
  176. <dependency>
  177. <groupId>org.codehaus.plexus</groupId>
  178. <artifactId>plexus-compiler-javac</artifactId>
  179. <version>2.8.5</version>
  180. </dependency>
  181. </dependencies>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-maven-plugin</artifactId>
  186. <configuration>
  187. <fork>true</fork>
  188. <mainClass>com.zhiqiyun.open.Application</mainClass>
  189. <layout>ZIP</layout>
  190. </configuration>
  191. <executions>
  192. <execution>
  193. <goals>
  194. <goal>repackage</goal>
  195. </goals>
  196. </execution>
  197. </executions>
  198. </plugin>
  199. </plugins>
  200. <finalName>${project.artifactId}</finalName>
  201. </build>
  202. </project>