pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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.20</framework.version>
  30. <db-migration.version>1.0.1</db-migration.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <version>${junit.version}</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.dliyun</groupId>
  41. <artifactId>framework-sprint-boot</artifactId>
  42. <version>${framework.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.dliyun</groupId>
  46. <artifactId>framework-sdk</artifactId>
  47. <version>${framework.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.dliyun</groupId>
  51. <artifactId>framework-docs</artifactId>
  52. <version>${framework.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.dliyun</groupId>
  56. <artifactId>db-migration</artifactId>
  57. <version>${db-migration.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.projectlombok</groupId>
  61. <artifactId>lombok</artifactId>
  62. <version>${lombok.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-api</artifactId>
  67. <version>${slf4j.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-lang3</artifactId>
  72. <version>${commons-lang3.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-web</artifactId>
  77. <version>${spring-boot.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-data-redis</artifactId>
  82. <version>${spring-boot.version}</version>
  83. </dependency>
  84. <!--Mysql相关包-->
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>${mysql-connector-java.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-jdbc</artifactId>
  93. <version>${spring-boot.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.baomidou</groupId>
  97. <artifactId>mybatis-plus-boot-starter</artifactId>
  98. <version>${mybatis-plus-boot.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>commons-codec</groupId>
  102. <artifactId>commons-codec</artifactId>
  103. <version>${commons-codec.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.lionsoul</groupId>
  107. <artifactId>ip2region</artifactId>
  108. <version>${ip2region.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.squareup.okhttp3</groupId>
  112. <artifactId>okhttp</artifactId>
  113. <version>${okhttp.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>es.gob.afirma.lib</groupId>
  117. <artifactId>afirma-lib-jmimemagic</artifactId>
  118. <version>${afirma-lib-jmimemagic.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>net.coobird</groupId>
  122. <artifactId>thumbnailator</artifactId>
  123. <version>${thumbnailator.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>us.codecraft</groupId>
  127. <artifactId>webmagic-core</artifactId>
  128. <version>0.7.5</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>us.codecraft</groupId>
  132. <artifactId>webmagic-extension</artifactId>
  133. <version>0.7.5</version>
  134. </dependency>
  135. <!-- <dependency>-->
  136. <!-- <groupId>us.codecraft</groupId>-->
  137. <!-- <artifactId>webmagic-core</artifactId>-->
  138. <!-- <version>0.6.0</version>-->
  139. <!-- <exclusions>-->
  140. <!-- <exclusion>-->
  141. <!-- <groupId>org.slf4j</groupId>-->
  142. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  143. <!-- </exclusion>-->
  144. <!-- <exclusion>-->
  145. <!-- <artifactId>slf4j-api</artifactId>-->
  146. <!-- <groupId>org.slf4j</groupId>-->
  147. <!-- </exclusion>-->
  148. <!-- <exclusion>-->
  149. <!-- <artifactId>guava</artifactId>-->
  150. <!-- <groupId>com.google.guava</groupId>-->
  151. <!-- </exclusion>-->
  152. <!-- <exclusion>-->
  153. <!-- <artifactId>commons-lang3</artifactId>-->
  154. <!-- <groupId>org.apache.commons</groupId>-->
  155. <!-- </exclusion>-->
  156. <!-- </exclusions>-->
  157. <!-- </dependency>-->
  158. <!-- <dependency>-->
  159. <!-- <groupId>us.codecraft</groupId>-->
  160. <!-- <artifactId>webmagic-extension</artifactId>-->
  161. <!-- <version>0.6.0</version>-->
  162. <!-- <exclusions>-->
  163. <!-- <exclusion>-->
  164. <!-- <groupId>org.slf4j</groupId>-->
  165. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  166. <!-- </exclusion>-->
  167. <!-- </exclusions>-->
  168. <!-- </dependency>-->
  169. </dependencies>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-compiler-plugin</artifactId>
  175. <version>3.8.1</version>
  176. <configuration>
  177. <source>${maven.compiler.source}</source>
  178. <target>${maven.compiler.target}</target>
  179. <encoding>UTF-8</encoding>
  180. </configuration>
  181. <dependencies>
  182. <dependency>
  183. <groupId>org.codehaus.plexus</groupId>
  184. <artifactId>plexus-compiler-javac</artifactId>
  185. <version>2.8.5</version>
  186. </dependency>
  187. </dependencies>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-maven-plugin</artifactId>
  192. <version>2.6.4</version>
  193. <configuration>
  194. <fork>true</fork>
  195. <mainClass>com.zhiqiyun.open.Application</mainClass>
  196. <layout>ZIP</layout>
  197. </configuration>
  198. <executions>
  199. <execution>
  200. <goals>
  201. <goal>repackage</goal>
  202. </goals>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. </plugins>
  207. <finalName>${project.artifactId}</finalName>
  208. </build>
  209. </project>