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

pom.xml 3.3 kB

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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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>spring-boot-demo</artifactId>
  8. <groupId>com.xkcoding</groupId>
  9. <version>1.0.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>demo-elasticsearch-rest-high-level-client</artifactId>
  12. <name>demo-elasticsearch-rest-high-level-client</name>
  13. <description>Demo project for Spring Boot</description>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter</artifactId>
  23. </dependency>
  24. <!-- test -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <!-- validator -->
  31. <dependency>
  32. <groupId>org.hibernate.validator</groupId>
  33. <artifactId>hibernate-validator</artifactId>
  34. <scope>compile</scope>
  35. </dependency>
  36. <!--
  37. You can easily generate your own configuration metadata file from items annotated with
  38. @ConfigurationProperties by using the spring-boot-configuration-processor jar.
  39. -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-configuration-processor</artifactId>
  43. </dependency>
  44. <!-- 工具类 -->
  45. <dependency>
  46. <groupId>cn.hutool</groupId>
  47. <artifactId>hutool-all</artifactId>
  48. </dependency>
  49. <!-- elasticsearch -->
  50. <dependency>
  51. <groupId>org.elasticsearch</groupId>
  52. <artifactId>elasticsearch</artifactId>
  53. <version>7.3.0</version>
  54. </dependency>
  55. <!-- elasticsearch-rest-client -->
  56. <dependency>
  57. <groupId>org.elasticsearch.client</groupId>
  58. <artifactId>elasticsearch-rest-client</artifactId>
  59. <version>7.3.0</version>
  60. </dependency>
  61. <!-- elasticsearch-rest-high-level-client -->
  62. <dependency>
  63. <groupId>org.elasticsearch.client</groupId>
  64. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  65. <version>7.3.0</version>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>org.elasticsearch.client</groupId>
  69. <artifactId>elasticsearch-rest-client</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>org.elasticsearch</groupId>
  73. <artifactId>elasticsearch</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!-- lombok -->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <optional>true</optional>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <finalName>demo-elasticsearch-rest-high-level-client</finalName>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>

一个用来深度学习并实战 spring boot 的项目,目前总共包含 66 个集成demo,已经完成 55 个。