pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>ieven.server</groupId>
  12. <artifactId>webapp</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>webapp</name>
  15. <description>models_single</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <log4j.version>1.2.17</log4j.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-websocket</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-logging</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <version>1.18.20</version>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.springfox</groupId>
  50. <artifactId>springfox-boot-starter</artifactId>
  51. <version>3.0.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi-ooxml</artifactId>
  56. <version>4.1.2</version>
  57. </dependency>
  58. <!-- <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi</artifactId>
  61. <version>3.17</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi-ooxml</artifactId>
  66. <version>3.17</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.poi</groupId>
  70. <artifactId>poi-ooxml-schemas</artifactId>
  71. <version>4.1.2</version>
  72. </dependency>-->
  73. <dependency>
  74. <groupId>org.apache.commons</groupId>
  75. <artifactId>commons-lang3</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>xerces</groupId>
  79. <artifactId>xercesImpl</artifactId>
  80. <version>2.12.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.ibm.icu</groupId>
  84. <artifactId>icu4j</artifactId>
  85. <version>69.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-csv</artifactId>
  90. <version>1.9.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>cn.hutool</groupId>
  94. <artifactId>hutool-all</artifactId>
  95. <version>5.6.5</version>
  96. </dependency>
  97. <!-- cpdetector 检测文件编码格式 -->
  98. <dependency>
  99. <groupId>cpdetector</groupId>
  100. <artifactId>cpdetector</artifactId>
  101. <version>1.0.10</version>
  102. <scope>system</scope>
  103. <systemPath>${basedir}/src/main/resources/libs/cpdetector_1.0.10.jar</systemPath>
  104. </dependency>
  105. <!-- cpdetector 的插件 chardet -->
  106. <dependency>
  107. <groupId>chardet</groupId>
  108. <artifactId>chardet</artifactId>
  109. <version>1.0</version>
  110. <scope>system</scope>
  111. <systemPath>${basedir}/src/main/resources/libs/chardet-1.0.jar</systemPath>
  112. </dependency>
  113. <!-- cpdetector 的插件 antlr -->
  114. <dependency>
  115. <groupId>antlr</groupId>
  116. <artifactId>antlr</artifactId>
  117. <version>2.7.4</version>
  118. <scope>system</scope>
  119. <systemPath>${basedir}/src/main/resources/libs/antlr-2.7.4.jar</systemPath>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.httpcomponents</groupId>
  123. <artifactId>httpclient</artifactId>
  124. <version>4.4.1</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.aliyun.oss</groupId>
  128. <artifactId>aliyun-sdk-oss</artifactId>
  129. <version>2.5.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.google.guava</groupId>
  133. <artifactId>guava</artifactId>
  134. <version>33.2.0-jre</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>log4j</groupId>
  138. <artifactId>log4j</artifactId>
  139. <version>${log4j.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.logging.log4j</groupId>
  143. <artifactId>log4j-1.2-api</artifactId>
  144. <version>2.8.2</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-test</artifactId>
  149. <version>5.3.1</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>cn.hutool</groupId>
  153. <artifactId>hutool-core</artifactId>
  154. <version>5.8.22</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.opencsv</groupId>
  158. <artifactId>opencsv</artifactId>
  159. <version>4.5</version>
  160. </dependency>
  161. </dependencies>
  162. <build>
  163. <finalName>model</finalName>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-maven-plugin</artifactId>
  168. <configuration>
  169. <mainClass>ieven.server.webapp.WebappApplication</mainClass>
  170. <includeSystemScope>true</includeSystemScope>
  171. </configuration>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-resources-plugin</artifactId>
  176. <version>3.1.0</version><!--亲测:3.1.0和2.4.3都可以。-->
  177. </plugin>
  178. </plugins>
  179. </build>
  180. <repositories><!-- 代码库 -->
  181. <repository>
  182. <id>central</id>
  183. <url>https://maven.aliyun.com/repository/central/</url>
  184. <releases>
  185. <enabled>true</enabled>
  186. </releases>
  187. <layout>default</layout>
  188. <snapshots>
  189. <enabled>true</enabled>
  190. <updatePolicy>always</updatePolicy>
  191. <checksumPolicy>fail</checksumPolicy>
  192. </snapshots>
  193. </repository>
  194. <repository>
  195. <id>jitpack.io</id>
  196. <url>https://jitpack.io</url>
  197. </repository>
  198. </repositories>
  199. <pluginRepositories>
  200. <pluginRepository>
  201. <id>aliyun-plugin</id>
  202. <url>https://maven.aliyun.com/repository/public/</url>
  203. <releases>
  204. <enabled>true</enabled>
  205. </releases>
  206. <snapshots>
  207. <enabled>false</enabled>
  208. </snapshots>
  209. </pluginRepository>
  210. </pluginRepositories>
  211. </project>