pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  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/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <packaging>jar</packaging>
  7. <parent>
  8. <groupId>cn.hutool</groupId>
  9. <artifactId>hutool-parent</artifactId>
  10. <version>5.4.8-SNAPSHOT</version>
  11. </parent>
  12. <artifactId>hutool-extra</artifactId>
  13. <name>${project.artifactId}</name>
  14. <description>Hutool 扩展工具类(提供其它类库的封装)</description>
  15. <properties>
  16. <!-- versions -->
  17. <velocity.version>2.2</velocity.version>
  18. <beetl.version>3.2.2.RELEASE</beetl.version>
  19. <rythm.version>1.3.0</rythm.version>
  20. <freemarker.version>2.3.30</freemarker.version>
  21. <enjoy.version>4.9.02</enjoy.version>
  22. <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
  23. <mail.version>1.6.2</mail.version>
  24. <jsch.version>0.1.55</jsch.version>
  25. <zxing.version>3.4.1</zxing.version>
  26. <net.version>3.7.2</net.version>
  27. <emoji-java.version>5.1.1</emoji-java.version>
  28. <servlet-api.version>4.0.1</servlet-api.version>
  29. <spring-boot.version>2.3.5.RELEASE</spring-boot.version>
  30. <cglib.version>3.3.0</cglib.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>cn.hutool</groupId>
  35. <artifactId>hutool-core</artifactId>
  36. <version>${project.parent.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.hutool</groupId>
  40. <artifactId>hutool-setting</artifactId>
  41. <version>${project.parent.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>javax.servlet</groupId>
  45. <artifactId>javax.servlet-api</artifactId>
  46. <version>${servlet-api.version}</version>
  47. <scope>provided</scope>
  48. <optional>true</optional>
  49. </dependency>
  50. <!-- 模板引擎 -->
  51. <dependency>
  52. <groupId>org.apache.velocity</groupId>
  53. <artifactId>velocity-engine-core</artifactId>
  54. <version>${velocity.version}</version>
  55. <scope>compile</scope>
  56. <optional>true</optional>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.ibeetl</groupId>
  60. <artifactId>beetl</artifactId>
  61. <version>${beetl.version}</version>
  62. <scope>compile</scope>
  63. <optional>true</optional>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.rythmengine</groupId>
  67. <artifactId>rythm-engine</artifactId>
  68. <version>${rythm.version}</version>
  69. <scope>compile</scope>
  70. <exclusions>
  71. <exclusion>
  72. <artifactId>commons-lang3</artifactId>
  73. <groupId>org.apache.commons</groupId>
  74. </exclusion>
  75. <exclusion>
  76. <artifactId>mvel2</artifactId>
  77. <groupId>org.mvel</groupId>
  78. </exclusion>
  79. </exclusions>
  80. <optional>true</optional>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.freemarker</groupId>
  84. <artifactId>freemarker</artifactId>
  85. <version>${freemarker.version}</version>
  86. <scope>compile</scope>
  87. <optional>true</optional>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.jfinal</groupId>
  91. <artifactId>enjoy</artifactId>
  92. <version>${enjoy.version}</version>
  93. <scope>compile</scope>
  94. <optional>true</optional>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.thymeleaf</groupId>
  98. <artifactId>thymeleaf</artifactId>
  99. <version>${thymeleaf.version}</version>
  100. <scope>compile</scope>
  101. <exclusions>
  102. <exclusion>
  103. <artifactId>slf4j-api</artifactId>
  104. <groupId>org.slf4j</groupId>
  105. </exclusion>
  106. </exclusions>
  107. <optional>true</optional>
  108. </dependency>
  109. <!-- 邮件 -->
  110. <dependency>
  111. <groupId>com.sun.mail</groupId>
  112. <artifactId>javax.mail</artifactId>
  113. <version>${mail.version}</version>
  114. <scope>compile</scope>
  115. <optional>true</optional>
  116. </dependency>
  117. <!-- SSH安全连接所使用的类库 -->
  118. <dependency>
  119. <groupId>com.jcraft</groupId>
  120. <artifactId>jsch</artifactId>
  121. <version>${jsch.version}</version>
  122. <scope>compile</scope>
  123. <optional>true</optional>
  124. </dependency>
  125. <!-- 二维码 -->
  126. <dependency>
  127. <groupId>com.google.zxing</groupId>
  128. <artifactId>core</artifactId>
  129. <version>${zxing.version}</version>
  130. <scope>compile</scope>
  131. <optional>true</optional>
  132. </dependency>
  133. <!-- FTP工具 -->
  134. <dependency>
  135. <groupId>commons-net</groupId>
  136. <artifactId>commons-net</artifactId>
  137. <version>${net.version}</version>
  138. <scope>compile</scope>
  139. <optional>true</optional>
  140. </dependency>
  141. <!-- Emoji工具依赖 -->
  142. <dependency>
  143. <groupId>com.vdurmont</groupId>
  144. <artifactId>emoji-java</artifactId>
  145. <version>${emoji-java.version}</version>
  146. <scope>compile</scope>
  147. <optional>true</optional>
  148. </dependency>
  149. <!-- 分词实现 -->
  150. <dependency>
  151. <groupId>org.ansj</groupId>
  152. <artifactId>ansj_seg</artifactId>
  153. <version>5.1.6</version>
  154. <optional>true</optional>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.huaban</groupId>
  158. <artifactId>jieba-analysis</artifactId>
  159. <version>1.0.2</version>
  160. <exclusions>
  161. <exclusion>
  162. <artifactId>commons-lang3</artifactId>
  163. <groupId>org.apache.commons</groupId>
  164. </exclusion>
  165. </exclusions>
  166. <optional>true</optional>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.lionsoul</groupId>
  170. <artifactId>jcseg-core</artifactId>
  171. <version>2.6.2</version>
  172. <optional>true</optional>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.chenlb.mmseg4j</groupId>
  176. <artifactId>mmseg4j-core</artifactId>
  177. <version>1.10.0</version>
  178. <optional>true</optional>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.janeluo</groupId>
  182. <artifactId>ikanalyzer</artifactId>
  183. <version>2012_u6</version>
  184. <optional>true</optional>
  185. <exclusions>
  186. <exclusion>
  187. <groupId>org.apache.lucene</groupId>
  188. <artifactId>lucene-analyzers-common</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>org.apache.lucene</groupId>
  192. <artifactId>lucene-queryparser</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>org.apache.lucene</groupId>
  196. <artifactId>lucene-core</artifactId>
  197. </exclusion>
  198. </exclusions>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.hankcs</groupId>
  202. <artifactId>hanlp</artifactId>
  203. <version>portable-1.7.8</version>
  204. <optional>true</optional>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.lucene</groupId>
  208. <artifactId>lucene-analyzers-smartcn</artifactId>
  209. <version>8.6.3</version>
  210. <optional>true</optional>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.apdplat</groupId>
  214. <artifactId>word</artifactId>
  215. <version>1.3.1</version>
  216. <exclusions>
  217. <exclusion>
  218. <artifactId>logback-classic</artifactId>
  219. <groupId>ch.qos.logback</groupId>
  220. </exclusion>
  221. <exclusion>
  222. <artifactId>pinyin4j</artifactId>
  223. <groupId>com.belerweb</groupId>
  224. </exclusion>
  225. <exclusion>
  226. <artifactId>slf4j-api</artifactId>
  227. <groupId>org.slf4j</groupId>
  228. </exclusion>
  229. <exclusion>
  230. <artifactId>lucene-analyzers-common</artifactId>
  231. <groupId>org.apache.lucene</groupId>
  232. </exclusion>
  233. <exclusion>
  234. <artifactId>lucene-core</artifactId>
  235. <groupId>org.apache.lucene</groupId>
  236. </exclusion>
  237. <exclusion>
  238. <artifactId>jedis</artifactId>
  239. <groupId>redis.clients</groupId>
  240. </exclusion>
  241. </exclusions>
  242. <optional>true</optional>
  243. </dependency>
  244. <dependency>
  245. <groupId>com.mayabot.mynlp</groupId>
  246. <artifactId>mynlp-segment</artifactId>
  247. <version>3.0.2</version>
  248. <optional>true</optional>
  249. </dependency>
  250. <!-- Spring Boot -->
  251. <dependency>
  252. <groupId>org.springframework.boot</groupId>
  253. <artifactId>spring-boot-starter</artifactId>
  254. <version>${spring-boot.version}</version>
  255. <exclusions>
  256. <exclusion>
  257. <artifactId>spring-expression</artifactId>
  258. <groupId>org.springframework</groupId>
  259. </exclusion>
  260. <exclusion>
  261. <artifactId>slf4j-api</artifactId>
  262. <groupId>org.slf4j</groupId>
  263. </exclusion>
  264. </exclusions>
  265. <optional>true</optional>
  266. </dependency>
  267. <dependency>
  268. <groupId>io.github.biezhi</groupId>
  269. <artifactId>TinyPinyin</artifactId>
  270. <version>2.0.3.RELEASE</version>
  271. <optional>true</optional>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.belerweb</groupId>
  275. <artifactId>pinyin4j</artifactId>
  276. <version>2.5.1</version>
  277. <optional>true</optional>
  278. </dependency>
  279. <dependency>
  280. <groupId>com.github.stuxuhai</groupId>
  281. <artifactId>jpinyin</artifactId>
  282. <version>1.1.8</version>
  283. <optional>true</optional>
  284. </dependency>
  285. <dependency>
  286. <groupId>com.rnkrsoft.bopomofo4j</groupId>
  287. <artifactId>bopomofo4j</artifactId>
  288. <version>1.0.0</version>
  289. <optional>true</optional>
  290. </dependency>
  291. <dependency>
  292. <groupId>cglib</groupId>
  293. <artifactId>cglib</artifactId>
  294. <version>${cglib.version}</version>
  295. <scope>compile</scope>
  296. <optional>true</optional>
  297. </dependency>
  298. <!-- 验证工具可选依赖 begin -->
  299. <dependency>
  300. <groupId>jakarta.validation</groupId>
  301. <artifactId>jakarta.validation-api</artifactId>
  302. <version>2.0.2</version>
  303. <scope>compile</scope>
  304. <optional>true</optional>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.hibernate.validator</groupId>
  308. <artifactId>hibernate-validator</artifactId>
  309. <version>6.1.6.Final</version>
  310. <scope>test</scope>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.glassfish</groupId>
  314. <artifactId>javax.el</artifactId>
  315. <version>3.0.0</version>
  316. <scope>test</scope>
  317. </dependency>
  318. <!-- 验证工具可选依赖 end -->
  319. <dependency>
  320. <groupId>org.springframework.boot</groupId>
  321. <artifactId>spring-boot-starter-test</artifactId>
  322. <version>${spring-boot.version}</version>
  323. <scope>test</scope>
  324. <exclusions>
  325. <exclusion>
  326. <artifactId>asm</artifactId>
  327. <groupId>org.ow2.asm</groupId>
  328. </exclusion>
  329. <exclusion>
  330. <artifactId>slf4j-api</artifactId>
  331. <groupId>org.slf4j</groupId>
  332. </exclusion>
  333. <exclusion>
  334. <artifactId>junit</artifactId>
  335. <groupId>junit</groupId>
  336. </exclusion>
  337. <exclusion>
  338. <artifactId>junit-jupiter-api</artifactId>
  339. <groupId>org.junit.jupiter</groupId>
  340. </exclusion>
  341. </exclusions>
  342. </dependency>
  343. <dependency>
  344. <groupId>ch.qos.logback</groupId>
  345. <artifactId>logback-classic</artifactId>
  346. <version>1.2.3</version>
  347. <scope>test</scope>
  348. <exclusions>
  349. <exclusion>
  350. <artifactId>slf4j-api</artifactId>
  351. <groupId>org.slf4j</groupId>
  352. </exclusion>
  353. </exclusions>
  354. </dependency>
  355. <!-- 表达式引擎可选依赖 begin -->
  356. <dependency>
  357. <groupId>com.googlecode.aviator</groupId>
  358. <artifactId>aviator</artifactId>
  359. <version>5.1.4</version>
  360. <scope>compile</scope>
  361. <optional>true</optional>
  362. </dependency>
  363. <dependency>
  364. <groupId>org.apache.commons</groupId>
  365. <artifactId>commons-jexl3</artifactId>
  366. <version>3.1</version>
  367. <scope>compile</scope>
  368. <optional>true</optional>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.mvel</groupId>
  372. <artifactId>mvel2</artifactId>
  373. <version>2.4.10.Final</version>
  374. <scope>compile</scope>
  375. <optional>true</optional>
  376. </dependency>
  377. <dependency>
  378. <groupId>com.jfirer</groupId>
  379. <artifactId>jfireEl</artifactId>
  380. <version>1.0</version>
  381. <scope>compile</scope>
  382. <optional>true</optional>
  383. </dependency>
  384. <dependency>
  385. <groupId>org.springframework</groupId>
  386. <artifactId>spring-expression</artifactId>
  387. <version>5.3.0</version>
  388. <scope>compile</scope>
  389. <optional>true</optional>
  390. </dependency>
  391. <!-- 表达式引擎可选依赖 end -->
  392. </dependencies>
  393. </project>