pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>ucloud-jkes</artifactId>
  7. <groupId>com.uas.cloud.base.jkes</groupId>
  8. <version>1.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>jkes-core</artifactId>
  12. <repositories>
  13. <repository>
  14. <id>confluent</id>
  15. <url>http://packages.confluent.io/maven/</url>
  16. <releases>
  17. <enabled>true</enabled>
  18. </releases>
  19. <snapshots>
  20. <enabled>false</enabled>
  21. </snapshots>
  22. </repository>
  23. </repositories>
  24. <properties>
  25. <jackson.version>2.8.0</jackson.version>
  26. </properties>
  27. <dependencies>
  28. <!-- elasticsearch rest client -->
  29. <dependency>
  30. <groupId>org.elasticsearch.client</groupId>
  31. <artifactId>rest</artifactId>
  32. <version>5.4.1</version>
  33. </dependency>
  34. <!-- automatically discover nodes from a running Elasticsearch cluster and set them to an existing RestClient instance. -->
  35. <dependency>
  36. <groupId>org.elasticsearch.client</groupId>
  37. <artifactId>sniffer</artifactId>
  38. <version>5.4.1</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>commons-logging</groupId>
  42. <artifactId>commons-logging</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <!-- the kafka clients that support avro serializer -->
  47. <dependency>
  48. <groupId>org.apache.kafka</groupId>
  49. <artifactId>kafka_2.11</artifactId>
  50. <version>0.10.2.1-cp1</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-log4j12</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>javax.inject</groupId>
  60. <artifactId>javax.inject</artifactId>
  61. <version>1</version>
  62. </dependency>
  63. <!-- optional dependency, only for internal use. https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html -->
  64. <dependency>
  65. <groupId>org.hibernate.javax.persistence</groupId>
  66. <artifactId>hibernate-jpa-2.1-api</artifactId>
  67. <version>1.0.0.Final</version>
  68. <optional>true</optional>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.fasterxml.jackson.module</groupId>
  72. <artifactId>jackson-module-parameter-names</artifactId>
  73. <version>${jackson.version}</version>
  74. <scope>compile</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.fasterxml.jackson.core</groupId>
  78. <artifactId>jackson-databind</artifactId>
  79. <version>${jackson.version}</version>
  80. </dependency>
  81. <!-- json lib -->
  82. <dependency>
  83. <groupId>org.json</groupId>
  84. <artifactId>json</artifactId>
  85. <version>20160810</version>
  86. <scope>compile</scope>
  87. </dependency>
  88. <!-- support data types of "json org" JSON library -->
  89. <dependency>
  90. <groupId>com.fasterxml.jackson.datatype</groupId>
  91. <artifactId>jackson-datatype-json-org</artifactId>
  92. <version>${jackson.version}</version>
  93. </dependency>
  94. <!-- reflections util based on javassist -->
  95. <dependency>
  96. <groupId>org.reflections</groupId>
  97. <artifactId>reflections</artifactId>
  98. <version>0.9.11</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>junit</groupId>
  102. <artifactId>junit</artifactId>
  103. <version>4.12</version>
  104. <scope>test</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.commons</groupId>
  108. <artifactId>commons-lang3</artifactId>
  109. <version>3.5</version>
  110. </dependency>
  111. </dependencies>
  112. </project>