pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. <parent>
  6. <artifactId>ssj</artifactId>
  7. <groupId>com.ssj</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <elasticsearch.version>7.2.0</elasticsearch.version>
  14. </properties>
  15. <artifactId>ssj-common-elasticsearch</artifactId>
  16. <description>common-elasticsearch</description>
  17. <packaging>jar</packaging>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.ssj</groupId>
  21. <artifactId>ssj-common-common</artifactId>
  22. <version>0.0.1-SNAPSHOT</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.elasticsearch.client</groupId>
  26. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  27. <version>${elasticsearch.version}</version>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>org.elasticsearch</groupId>
  31. <artifactId>elasticsearch</artifactId>
  32. </exclusion>
  33. <exclusion>
  34. <groupId>org.elasticsearch.client</groupId>
  35. <artifactId>elasticsearch-rest-client</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.elasticsearch.client</groupId>
  41. <artifactId>elasticsearch-rest-client</artifactId>
  42. <version>${elasticsearch.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.elasticsearch</groupId>
  46. <artifactId>elasticsearch</artifactId>
  47. <version>${elasticsearch.version}</version>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <resources>
  52. <resource>
  53. <directory>src/main/java</directory>
  54. <includes>
  55. <include>**/*.xml</include>
  56. </includes>
  57. </resource>
  58. <resource>
  59. <directory>src/main/resources</directory>
  60. <includes>
  61. <include>**.*</include>
  62. <include>**/*.*</include><!-- i18n能读取到 -->
  63. <include>**/*/*.*</include>
  64. </includes>
  65. </resource>
  66. </resources>
  67. </build>
  68. </project>