pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>cloud-platform</artifactId>
  6. <groupId>com.xlkh</groupId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>com.xlkh</groupId>
  11. <artifactId>platform-search-service</artifactId>
  12. <name>platform-search-service</name>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.cloud</groupId>
  17. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-actuator</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-openfeign</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  37. <dependency>
  38. <groupId>com.squareup.okhttp3</groupId>
  39. <artifactId>okhttp</artifactId>
  40. <version>3.4.1</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>mysql</groupId>
  52. <artifactId>mysql-connector-java</artifactId>
  53. <scope>runtime</scope>
  54. </dependency>
  55. <!-- alibaba的druid数据库连接池 -->
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid-spring-boot-starter</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-lang3</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>slf4j-log4j12</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.xlkh</groupId>
  70. <artifactId>cloud-platform-common</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.elasticsearch.client</groupId>
  74. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  75. <version>7.4.0</version>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>org.elasticsearch</groupId>
  79. <artifactId>elasticsearch</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>org.elasticsearch.client</groupId>
  83. <artifactId>elasticsearch-rest-client</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.elasticsearch.client</groupId>
  89. <artifactId>elasticsearch-rest-client</artifactId>
  90. <version>7.4.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.elasticsearch</groupId>
  94. <artifactId>elasticsearch</artifactId>
  95. <version>7.4.0</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <configuration>
  104. <mainClass>com.xlkh.cloud.platform.PlatformSearchApplication</mainClass>
  105. <layout>ZIP</layout>
  106. </configuration>
  107. <executions>
  108. <execution>
  109. <goals>
  110. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中 -->
  111. </goals>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>