pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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.test.skip>true</maven.test.skip>
  11. <maven.compiler.source>1.8</maven.compiler.source>
  12. <maven.compiler.target>1.8</maven.compiler.target>
  13. <file.encoding>UTF-8</file.encoding>
  14. <junit.version>4.13.2</junit.version>
  15. <slf4j.version>1.7.36</slf4j.version>
  16. <commons-lang3.version>3.12.0</commons-lang3.version>
  17. <commons-codec.version>1.15</commons-codec.version>
  18. <ip2region.version>1.7.2</ip2region.version>
  19. <spring.version>5.3.16</spring.version>
  20. <spring-boot.version>2.6.4</spring-boot.version>
  21. <mysql-connector-java.version>8.0.28</mysql-connector-java.version>
  22. <mybatis-spring-boot-starter.version>2.2.0</mybatis-spring-boot-starter.version>
  23. <mybatis.version>3.5.7</mybatis.version>
  24. <mybatis-plus-boot.version>3.5.1</mybatis-plus-boot.version>
  25. <lombok.version>1.18.22</lombok.version>
  26. <javax.servlet.version>4.0.1</javax.servlet.version>
  27. <okhttp.version>4.9.3</okhttp.version>
  28. <webmagic.version>0.7.5</webmagic.version>
  29. <afirma-lib-jmimemagic.version>0.0.6</afirma-lib-jmimemagic.version>
  30. <thumbnailator.version>0.4.17</thumbnailator.version>
  31. <framework.version>1.0.20</framework.version>
  32. <db-migration.version>1.0.1</db-migration.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>junit</groupId>
  37. <artifactId>junit</artifactId>
  38. <version>${junit.version}</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.dliyun</groupId>
  43. <artifactId>framework-sprint-boot</artifactId>
  44. <version>${framework.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.dliyun</groupId>
  48. <artifactId>framework-sdk</artifactId>
  49. <version>${framework.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.dliyun</groupId>
  53. <artifactId>framework-docs</artifactId>
  54. <version>${framework.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.dliyun</groupId>
  58. <artifactId>db-migration</artifactId>
  59. <version>${db-migration.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <version>${lombok.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>slf4j-api</artifactId>
  69. <version>${slf4j.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.commons</groupId>
  73. <artifactId>commons-lang3</artifactId>
  74. <version>${commons-lang3.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-web</artifactId>
  79. <version>${spring-boot.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-data-redis</artifactId>
  84. <version>${spring-boot.version}</version>
  85. </dependency>
  86. <!--Mysql相关包-->
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. <version>${mysql-connector-java.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-jdbc</artifactId>
  95. <version>${spring-boot.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.baomidou</groupId>
  99. <artifactId>mybatis-plus-boot-starter</artifactId>
  100. <version>${mybatis-plus-boot.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>commons-codec</groupId>
  104. <artifactId>commons-codec</artifactId>
  105. <version>${commons-codec.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.lionsoul</groupId>
  109. <artifactId>ip2region</artifactId>
  110. <version>${ip2region.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.squareup.okhttp3</groupId>
  114. <artifactId>okhttp</artifactId>
  115. <version>${okhttp.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>es.gob.afirma.lib</groupId>
  119. <artifactId>afirma-lib-jmimemagic</artifactId>
  120. <version>${afirma-lib-jmimemagic.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>net.coobird</groupId>
  124. <artifactId>thumbnailator</artifactId>
  125. <version>${thumbnailator.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>us.codecraft</groupId>
  129. <artifactId>webmagic-core</artifactId>
  130. <version>${webmagic.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>us.codecraft</groupId>
  134. <artifactId>webmagic-extension</artifactId>
  135. <version>${webmagic.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.seleniumhq.selenium</groupId>
  139. <artifactId>selenium-java</artifactId>
  140. <version>4.1.2</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.codeborne</groupId>
  144. <artifactId>phantomjsdriver</artifactId>
  145. <version>1.5.0</version>
  146. </dependency>
  147. </dependencies>
  148. <build>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-compiler-plugin</artifactId>
  153. <version>3.8.1</version>
  154. <configuration>
  155. <source>${maven.compiler.source}</source>
  156. <target>${maven.compiler.target}</target>
  157. <encoding>UTF-8</encoding>
  158. <skip>true</skip>
  159. </configuration>
  160. <dependencies>
  161. <dependency>
  162. <groupId>org.codehaus.plexus</groupId>
  163. <artifactId>plexus-compiler-javac</artifactId>
  164. <version>2.8.5</version>
  165. </dependency>
  166. </dependencies>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-maven-plugin</artifactId>
  171. <version>2.6.4</version>
  172. <configuration>
  173. <fork>true</fork>
  174. <mainClass>com.zhiqiyun.open.Application</mainClass>
  175. <layout>ZIP</layout>
  176. </configuration>
  177. <executions>
  178. <execution>
  179. <goals>
  180. <goal>repackage</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. </plugins>
  186. <finalName>${project.artifactId}</finalName>
  187. </build>
  188. </project>