You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

296 lines
11 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  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. <parent>
  7. <artifactId>cl_stream_3.2</artifactId>
  8. <groupId>com.bfd.mf</groupId>
  9. <version>3.2-SNAPSHOT</version>
  10. </parent>
  11. <name>cl_search_api</name>
  12. <description>Search V3.2 API</description>
  13. <artifactId>cl_search_api</artifactId>
  14. <version>3.2.5-SNAPSHOT</version>
  15. <properties>
  16. <start-class>com.bfd.mf.SearchApplication</start-class>
  17. <source>1.8</source>
  18. <es.version>6.0.0</es.version>
  19. <spring-boot-version>2.0.0.RELEASE</spring-boot-version>
  20. <springframework.boot.version>2.0.0.RELEASE</springframework.boot.version>
  21. <springframework.version>5.0.4.RELEASE</springframework.version>
  22. <logstash.version>4.4</logstash.version>
  23. <jna.version>4.1.0</jna.version>
  24. <jetty.version>9.4.8.v20171121</jetty.version>
  25. <druid.version>1.1.6</druid.version>
  26. <guava.version>19.0</guava.version>
  27. <poi.version>3.15</poi.version>
  28. <java.version>1.8</java.version>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>jdk.tools</groupId>
  35. <artifactId>jdk.tools</artifactId>
  36. <version>1.8</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework</groupId>
  40. <artifactId>spring-webmvc</artifactId>
  41. <version>${springframework.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-core</artifactId>
  46. <version>${springframework.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. <version>${springframework.boot.version}</version>
  52. <exclusions>
  53. <exclusion>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-json</artifactId>
  56. </exclusion>
  57. <exclusion>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-web</artifactId>
  60. </exclusion>
  61. <exclusion>
  62. <groupId>org.springframework</groupId>
  63. <artifactId>spring-webmvc</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <version>${springframework.boot.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-data-jpa</artifactId>
  75. <version>${springframework.boot.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-devtools</artifactId>
  80. <version>${springframework.boot.version}</version>
  81. <!--optional=true,依赖不会传递,该项目依赖devtools;之后依赖该项目的项目如果想要使用devtools,需要重新引入 -->
  82. <optional>true</optional>
  83. <!--<scope>true</scope>-->
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mybatis.spring.boot</groupId>
  87. <artifactId>mybatis-spring-boot-starter</artifactId>
  88. <version>1.3.1</version>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-autoconfigure</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.elasticsearch</groupId>
  98. <artifactId>elasticsearch</artifactId>
  99. <version>${es.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.elasticsearch.client</groupId>
  103. <artifactId>transport</artifactId>
  104. <version>${es.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi</artifactId>
  109. <version>${poi.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.poi</groupId>
  113. <artifactId>poi-ooxml</artifactId>
  114. <version>${poi.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>fastjson</artifactId>
  119. <version>1.1.22</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.projectlombok</groupId>
  123. <artifactId>lombok</artifactId>
  124. <version>1.16.20</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>mysql</groupId>
  128. <artifactId>mysql-connector-java</artifactId>
  129. <version>8.0.30</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.jodd</groupId>
  133. <artifactId>jodd-core</artifactId>
  134. <version>3.4.8</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-lang3</artifactId>
  139. <version>3.2.1</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.bfd.nlp</groupId>
  143. <artifactId>nlp_common_util</artifactId>
  144. <version>1.1</version>
  145. <exclusions>
  146. <exclusion>
  147. <artifactId>httpclient</artifactId>
  148. <groupId>org.apache.httpcomponents</groupId>
  149. </exclusion>
  150. </exclusions>
  151. </dependency>
  152. <!-- 解决构建失败问题 -->
  153. <dependency>
  154. <groupId>com.fasterxml.jackson.core</groupId>
  155. <artifactId>jackson-databind</artifactId>
  156. <version>2.9.6</version>
  157. </dependency>
  158. <!--<dependency>-->
  159. <!--<groupId>com.fasterxml.jackson.core</groupId>-->
  160. <!--<artifactId>jackson-core</artifactId>-->
  161. <!--<version>2.9.6</version>-->
  162. <!--</dependency>-->
  163. <!--<dependency>-->
  164. <!--<groupId>com.fasterxml.jackson.core</groupId>-->
  165. <!--<artifactId>jackson-annotations</artifactId>-->
  166. <!--<version>2.9.6</version>-->
  167. <!--</dependency>-->
  168. <!--<dependency>-->
  169. <!--<groupId>com.fasterxml.jackson.module</groupId>-->
  170. <!--<artifactId>jackson-module-jaxb-annotations</artifactId>-->
  171. <!--<version>2.9.6</version>-->
  172. <!--</dependency>-->
  173. <dependency>
  174. <groupId>net.logstash.logback</groupId>
  175. <artifactId>logstash-logback-encoder</artifactId>
  176. <version>4.4</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>ch.qos.logback</groupId>
  180. <artifactId>logback-core</artifactId>
  181. <version>1.1.7</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>ch.qos.logback</groupId>
  185. <artifactId>logback-classic</artifactId>
  186. <version>1.1.7</version>
  187. </dependency>
  188. <!--<dependency>-->
  189. <!--<groupId>com.swagger.ui</groupId>-->
  190. <!--<artifactId>swagger-bootstrap-ui</artifactId>-->
  191. <!--<version>1.8.8</version>-->
  192. <!--</dependency>-->
  193. <dependency>
  194. <groupId>io.springfox</groupId>
  195. <artifactId>springfox-swagger-ui</artifactId>
  196. <version>2.9.2</version>
  197. <exclusions>
  198. <exclusion>
  199. <artifactId>guava</artifactId>
  200. <groupId>com.google.guava</groupId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>io.springfox</groupId>
  206. <artifactId>springfox-swagger2</artifactId>
  207. <version>2.9.2</version>
  208. <exclusions>
  209. <exclusion>
  210. <artifactId>guava</artifactId>
  211. <groupId>com.google.guava</groupId>
  212. </exclusion>
  213. </exclusions>
  214. </dependency>
  215. <!--这个很坑我 忘了引依赖-->
  216. <!--<dependency>-->
  217. <!--<groupId>com.github.xiaoymin</groupId>-->
  218. <!--<artifactId>swagger-bootstrap-ui</artifactId>-->
  219. <!--<version>2.9.2</version>-->
  220. <!--</dependency>-->
  221. <dependency>
  222. <groupId>com.google.guava</groupId>
  223. <artifactId>guava</artifactId>
  224. <version>25.0-jre</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.poi</groupId>
  228. <artifactId>poi</artifactId>
  229. <version>4.1.0</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.poi</groupId>
  233. <artifactId>poi-ooxml</artifactId>
  234. <version>4.1.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.squareup.okhttp3</groupId>
  238. <artifactId>okhttp</artifactId>
  239. <version>3.6.0</version>
  240. </dependency>
  241. <!-- https://mvnrepository.com/artifact/it.sauronsoftware/jave -->
  242. <!--<dependency>-->
  243. <!--<groupId>it.sauronsoftware</groupId>-->
  244. <!--<artifactId>jave</artifactId>-->
  245. <!--<version>1.0.2</version>-->
  246. <!--</dependency>-->
  247. </dependencies>
  248. <build>
  249. <plugins>
  250. <plugin>
  251. <groupId>org.apache.maven.plugins</groupId>
  252. <artifactId>maven-compiler-plugin</artifactId>
  253. <configuration>
  254. <source>1.8</source>
  255. <target>1.8</target>
  256. </configuration>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.springframework.boot</groupId>
  260. <artifactId>spring-boot-maven-plugin</artifactId>
  261. <version>2.0.0.RELEASE</version>
  262. <configuration>
  263. <mainClass>com.bfd.mf.SearchApplication</mainClass>
  264. </configuration>
  265. <executions>
  266. <execution>
  267. <goals>
  268. <goal>repackage</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. </project>