pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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.7.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.bowintek</groupId>
  12. <artifactId>smartsearch</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>smartsearch</name>
  15. <description>vue3 + antd 3 + mssql</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <elasticsearch.version>7.10.2-h0.cbu.mrs.320.r33</elasticsearch.version>
  19. <opendistro.version>1.13.0.0-h0.cbu.mrs.320.r33</opendistro.version>
  20. <lucene.version>8.7.0</lucene.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.elasticsearch.client</groupId>
  25. <artifactId>elasticsearch-rest-client</artifactId>
  26. <version>${elasticsearch.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.elasticsearch.client</groupId>
  30. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  31. <version>${elasticsearch.version}</version>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.elasticsearch.plugin</groupId>
  35. <artifactId>parent-join-client</artifactId>
  36. </exclusion>
  37. <exclusion>
  38. <groupId>org.elasticsearch.plugin</groupId>
  39. <artifactId>aggs-matrix-stats-client</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.elasticsearch</groupId>
  45. <artifactId>elasticsearch</artifactId>
  46. <version>${elasticsearch.version}</version>
  47. <exclusions>
  48. <exclusion>
  49. <groupId>org.apache.lucene</groupId>
  50. <artifactId>lucene-analyzers-common</artifactId>
  51. </exclusion>
  52. <exclusion>
  53. <groupId>org.apache.lucene</groupId>
  54. <artifactId>lucene-memory</artifactId>
  55. </exclusion>
  56. <exclusion>
  57. <groupId>org.apache.lucene</groupId>
  58. <artifactId>lucene-backward-codecs</artifactId>
  59. </exclusion>
  60. <exclusion>
  61. <groupId>org.apache.lucene</groupId>
  62. <artifactId>lucene-grouping</artifactId>
  63. </exclusion>
  64. <exclusion>
  65. <groupId>org.apache.lucene</groupId>
  66. <artifactId>lucene-misc</artifactId>
  67. </exclusion>
  68. <exclusion>
  69. <groupId>org.apache.lucene</groupId>
  70. <artifactId>lucene-queryparser</artifactId>
  71. </exclusion>
  72. <exclusion>
  73. <groupId>org.apache.lucene</groupId>
  74. <artifactId>lucene-sandbox</artifactId>
  75. </exclusion>
  76. <exclusion>
  77. <groupId>org.apache.lucene</groupId>
  78. <artifactId>lucene-spatial</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>org.apache.lucene</groupId>
  82. <artifactId>lucene-spatial-extras</artifactId>
  83. </exclusion>
  84. <exclusion>
  85. <groupId>org.apache.lucene</groupId>
  86. <artifactId>lucene-spatial3d</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>org.elasticsearch</groupId>
  90. <artifactId>securesm</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>org.elasticsearch</groupId>
  94. <artifactId>elasticsearch-cli</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <groupId>org.elasticsearch</groupId>
  98. <artifactId>jna</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>org.yaml</groupId>
  102. <artifactId>snakeyaml</artifactId>
  103. </exclusion>
  104. <exclusion>
  105. <groupId>com.fasterxml.jackson.dataformat</groupId>
  106. <artifactId>jackson-dataformat-yaml</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>com.fasterxml.jackson.dataformat</groupId>
  110. <artifactId>jackson-dataformat-smile</artifactId>
  111. </exclusion>
  112. <exclusion>
  113. <groupId>com.fasterxml.jackson.dataformat</groupId>
  114. <artifactId>jackson-dataformat-cbor</artifactId>
  115. </exclusion>
  116. <exclusion>
  117. <groupId>com.tdunning</groupId>
  118. <artifactId>t-digest</artifactId>
  119. </exclusion>
  120. <exclusion>
  121. <groupId>org.hdrhistogram</groupId>
  122. <artifactId>HdrHistogram</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <artifactId>log4j-api</artifactId>
  126. <groupId>org.apache.logging.log4j</groupId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>org.apache.lucene</groupId>
  130. <artifactId>lucene-core</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.apache.lucene</groupId>
  134. <artifactId>lucene-highlighter</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>org.apache.lucene</groupId>
  138. <artifactId>lucene-join</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>org.apache.lucene</groupId>
  142. <artifactId>lucene-queries</artifactId>
  143. </exclusion>
  144. <exclusion>
  145. <groupId>org.apache.lucene</groupId>
  146. <artifactId>lucene-suggest</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.amazon.opendistroforelasticsearch.client</groupId>
  152. <artifactId>opendistro-sql-jdbc</artifactId>
  153. <version>${opendistro.version}</version>
  154. <exclusions>
  155. <exclusion>
  156. <groupId>com.fasterxml.jackson.dataformat</groupId>
  157. <artifactId>jackson-dataformat-cbor</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>com.fasterxml.jackson.core</groupId>
  161. <artifactId>jackson-databind</artifactId>
  162. </exclusion>
  163. </exclusions>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.lucene</groupId>
  167. <artifactId>lucene-core</artifactId>
  168. <version>${lucene.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.lucene</groupId>
  172. <artifactId>lucene-highlighter</artifactId>
  173. <version>${lucene.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.lucene</groupId>
  177. <artifactId>lucene-join</artifactId>
  178. <version>${lucene.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.apache.lucene</groupId>
  182. <artifactId>lucene-queries</artifactId>
  183. <version>${lucene.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.apache.lucene</groupId>
  187. <artifactId>lucene-suggest</artifactId>
  188. <version>${lucene.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.springframework.boot</groupId>
  192. <artifactId>spring-boot-starter-web</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-starter-test</artifactId>
  197. <scope>test</scope>
  198. </dependency>
  199. <!-- jdbc and mybatis -->
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-jdbc</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.mybatis.spring.boot</groupId>
  206. <artifactId>mybatis-spring-boot-starter</artifactId>
  207. <version>2.2.2</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.fasterxml.jackson.datatype</groupId>
  211. <artifactId>jackson-datatype-jsr310</artifactId>
  212. <version>2.13.3</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>jakarta.json</groupId>
  216. <artifactId>jakarta.json-api</artifactId>
  217. <version>2.0.1</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>mysql</groupId>
  221. <artifactId>mysql-connector-java</artifactId>
  222. <scope>runtime</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.postgresql</groupId>
  226. <artifactId>postgresql</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.alibaba</groupId>
  230. <artifactId>druid-spring-boot-starter</artifactId>
  231. <version>1.2.11</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.github.pagehelper</groupId>
  235. <artifactId>pagehelper-spring-boot-starter</artifactId>
  236. <version>1.4.3</version>
  237. </dependency>
  238. <!-- devtools -->
  239. <dependency>
  240. <groupId>org.projectlombok</groupId>
  241. <artifactId>lombok</artifactId>
  242. <version>1.18.20</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.springframework.boot</groupId>
  246. <artifactId>spring-boot-devtools</artifactId>
  247. <optional>true</optional>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.commons</groupId>
  251. <artifactId>commons-lang3</artifactId>
  252. <version>3.5</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>commons-net</groupId>
  256. <artifactId>commons-net</artifactId>
  257. <version>3.6</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>commons-beanutils</groupId>
  261. <artifactId>commons-beanutils</artifactId>
  262. <version>1.9.4</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.httpcomponents</groupId>
  266. <artifactId>httpclient</artifactId>
  267. <version>4.5.9</version>
  268. </dependency>
  269. <!-- redis -->
  270. <dependency>
  271. <groupId>org.springframework.boot</groupId>
  272. <artifactId>spring-boot-starter-data-redis</artifactId>
  273. </dependency>
  274. <!-- 高版本redis的lettuce需要commons-pool2 -->
  275. <dependency>
  276. <groupId>org.apache.commons</groupId>
  277. <artifactId>commons-pool2</artifactId>
  278. </dependency>
  279. <!-- poi -->
  280. <dependency>
  281. <groupId>org.apache.poi</groupId>
  282. <artifactId>poi</artifactId>
  283. <version>4.0.0</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.apache.poi</groupId>
  287. <artifactId>poi-ooxml</artifactId>
  288. <version>4.0.0</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.apache.poi</groupId>
  292. <artifactId>poi-scratchpad</artifactId>
  293. <version>4.0.0</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>com.auth0</groupId>
  297. <artifactId>java-jwt</artifactId>
  298. <version>3.9.0</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.json</groupId>
  302. <artifactId>json</artifactId>
  303. <version>20190722</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>com.alibaba</groupId>
  307. <artifactId>fastjson</artifactId>
  308. <version>1.2.47</version>
  309. </dependency>
  310. <!--<dependency>
  311. <groupId>io.github.ms100</groupId>
  312. <artifactId>cache-as-multi</artifactId>
  313. <version>1.1.3</version>
  314. </dependency>-->
  315. <dependency>
  316. <groupId>aspose-words-15.8.0-jdk16.jar</groupId>
  317. <artifactId>aspose-words</artifactId>
  318. <version>15.8.0</version>
  319. <scope>system</scope>
  320. <systemPath>${project.basedir}/lib/aspose-words-15.8.0-jdk16.jar</systemPath>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.aspectj</groupId>
  324. <artifactId>aspectjweaver</artifactId>
  325. <version>${aspectj.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.aspectj</groupId>
  329. <artifactId>aspectjrt</artifactId>
  330. <version>${aspectj.version}</version>
  331. </dependency>
  332. <!-- <dependency>
  333. <groupId>co.elastic.clients</groupId>
  334. <artifactId>elasticsearch-java</artifactId>
  335. <version>7.17.0</version>
  336. </dependency>-->
  337. <!--ik-analyzer分词器-->
  338. <dependency>
  339. <groupId>com.janeluo</groupId>
  340. <artifactId>ikanalyzer</artifactId>
  341. <version>2012_u6</version>
  342. </dependency>
  343. </dependencies>
  344. <build>
  345. <plugins>
  346. <plugin>
  347. <groupId>org.springframework.boot</groupId>
  348. <artifactId>spring-boot-maven-plugin</artifactId>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.mybatis.generator</groupId>
  352. <artifactId>mybatis-generator-maven-plugin</artifactId>
  353. <version>1.4.1</version>
  354. <configuration>
  355. <!--配置文件的位置-->
  356. <configurationFile>${basedir}/src/main/resources/generatorConfig.xml</configurationFile>
  357. <verbose>true</verbose>
  358. <overwrite>true</overwrite>
  359. </configuration>
  360. <executions>
  361. <execution>
  362. <id>Generate MyBatis Artifacts</id>
  363. <phase>deploy</phase>
  364. <goals>
  365. <goal>generate</goal>
  366. </goals>
  367. </execution>
  368. </executions>
  369. <dependencies>
  370. <dependency>
  371. <groupId>org.mybatis.generator</groupId>
  372. <artifactId>mybatis-generator-core</artifactId>
  373. <version>1.4.1</version>
  374. </dependency>
  375. </dependencies>
  376. </plugin>
  377. <plugin>
  378. <groupId>org.springframework.boot</groupId>
  379. <artifactId>spring-boot-maven-plugin</artifactId>
  380. <configuration>
  381. <includeSystemScope>true</includeSystemScope>
  382. </configuration>
  383. </plugin>
  384. </plugins>
  385. <resources>
  386. <resource>
  387. <directory>src/main/java</directory>
  388. <includes>
  389. <include>**/*</include>
  390. </includes>
  391. </resource>
  392. <resource>
  393. <filtering>true</filtering>
  394. <directory>src/main/resources</directory>
  395. <excludes>
  396. <exclude>static/**</exclude>
  397. </excludes>
  398. </resource>
  399. <resource>
  400. <directory>src/main/resources</directory>
  401. <targetPath>BOOT-INF/</targetPath>
  402. <includes>
  403. <include>/lib/*.jar</include>
  404. </includes>
  405. </resource>
  406. </resources>
  407. </build>
  408. </project>