pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>cn.superdesk.libs</groupId>
  6. <artifactId>superdesk-libs</artifactId>
  7. <version>2.0.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>superdesk-libs-kafka</artifactId>
  10. <properties>
  11. <kafka.version>1.1.1</kafka.version><!--2.0.0-->
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>cn.superdesk.libs</groupId>
  16. <artifactId>superdesk-libs-common</artifactId>
  17. <version>${project.parent.version}</version>
  18. <optional>true</optional>
  19. </dependency>
  20. <dependency>
  21. <groupId>cn.superdesk.libs</groupId>
  22. <artifactId>superdesk-libs-spring</artifactId>
  23. <version>${project.parent.version}</version>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework</groupId>
  27. <artifactId>spring-tx</artifactId>
  28. </exclusion>
  29. <exclusion>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-web</artifactId>
  32. </exclusion>
  33. <exclusion>
  34. <groupId>org.springframework</groupId>
  35. <artifactId>spring-aspects</artifactId>
  36. </exclusion>
  37. <exclusion>
  38. <groupId>org.aspectj</groupId>
  39. <artifactId>aspectjweaver</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.kafka</groupId>
  45. <artifactId>kafka_2.11</artifactId>
  46. <version>${kafka.version}</version>
  47. <optional>true</optional>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>slf4j-log4j12</artifactId>
  52. </exclusion>
  53. <exclusion>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-api</artifactId>
  56. </exclusion>
  57. <exclusion>
  58. <groupId>log4j</groupId>
  59. <artifactId>log4j</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.kafka</groupId>
  65. <artifactId>kafka-clients</artifactId>
  66. <version>${kafka.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.kafka</groupId>
  70. <artifactId>kafka-streams</artifactId>
  71. <version>${kafka.version}</version>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.zookeeper</groupId>
  76. <artifactId>zookeeper</artifactId>
  77. <version>3.4.9</version><!-- 3.4.12 -->
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-log4j12</artifactId>
  82. </exclusion>
  83. <exclusion>
  84. <groupId>org.slf4j</groupId>
  85. <artifactId>slf4j-api</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.101tec</groupId>
  91. <artifactId>zkclient</artifactId>
  92. <version>${zkclient.version}</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>slf4j-log4j12</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.slf4j</groupId>
  100. <artifactId>slf4j-api</artifactId>
  101. </exclusion>
  102. </exclusions>
  103. </dependency>
  104. <dependency>
  105. <groupId>junit</groupId>
  106. <artifactId>junit</artifactId>
  107. <version>4.12</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-test</artifactId>
  113. <version>${spring.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-deploy-plugin</artifactId>
  122. <configuration>
  123. <skip>false</skip>
  124. </configuration>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>