pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. <commons-lang3.version>3.12.0</commons-lang3.version>
  15. <commons-codec.version>1.15</commons-codec.version>
  16. <ip2region.version>1.7.2</ip2region.version>
  17. <spring.version>5.3.14</spring.version>
  18. <spring-boot.version>2.6.2</spring-boot.version>
  19. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  20. <mybatis-spring-boot-starter.version>2.2.0</mybatis-spring-boot-starter.version>
  21. <mybatis.version>3.5.7</mybatis.version>
  22. <framework.version>1.0.16</framework.version>
  23. <db-migration.version>1.0.0</db-migration.version>
  24. <slf4j.version>1.7.32</slf4j.version>
  25. <commons-lang3.version>3.12.0</commons-lang3.version>
  26. <lombok.version>1.18.22</lombok.version>
  27. <javax.servlet.version>4.0.1</javax.servlet.version>
  28. <okhttp.version>4.9.3</okhttp.version>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>com.dliyun</groupId>
  33. <artifactId>framework-sprint-boot</artifactId>
  34. <version>${framework.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.dliyun</groupId>
  38. <artifactId>framework-docs</artifactId>
  39. <version>${framework.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.dliyun</groupId>
  43. <artifactId>db-migration</artifactId>
  44. <version>${db-migration.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <version>${lombok.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <version>${slf4j.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.commons</groupId>
  58. <artifactId>commons-lang3</artifactId>
  59. <version>${commons-lang3.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-web</artifactId>
  64. <version>${spring-boot.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-data-redis</artifactId>
  69. <version>${spring-boot.version}</version>
  70. </dependency>
  71. <!--Mysql相关包-->
  72. <dependency>
  73. <groupId>mysql</groupId>
  74. <artifactId>mysql-connector-java</artifactId>
  75. <version>${mysql-connector-java.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-jdbc</artifactId>
  80. <version>${spring-boot.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. <version>3.4.3.4</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-lang3</artifactId>
  90. <version>${commons-lang3.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-codec</groupId>
  94. <artifactId>commons-codec</artifactId>
  95. <version>${commons-codec.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.lionsoul</groupId>
  99. <artifactId>ip2region</artifactId>
  100. <version>${ip2region.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.squareup.okhttp3</groupId>
  104. <artifactId>okhttp</artifactId>
  105. <version>${okhttp.version}</version>
  106. </dependency>
  107. </dependencies>
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-compiler-plugin</artifactId>
  113. <version>3.8.1</version>
  114. <configuration>
  115. <source>${maven.compiler.source}</source>
  116. <target>${maven.compiler.target}</target>
  117. <encoding>UTF-8</encoding>
  118. </configuration>
  119. <dependencies>
  120. <dependency>
  121. <groupId>org.codehaus.plexus</groupId>
  122. <artifactId>plexus-compiler-javac</artifactId>
  123. <version>2.8.5</version>
  124. </dependency>
  125. </dependencies>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-maven-plugin</artifactId>
  130. <configuration>
  131. <fork>true</fork>
  132. <mainClass>com.zhiqiyun.open.Application</mainClass>
  133. <layout>ZIP</layout>
  134. </configuration>
  135. <executions>
  136. <execution>
  137. <goals>
  138. <goal>repackage</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. </plugins>
  144. <finalName>${project.artifactId}</finalName>
  145. </build>
  146. </project>