pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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>jkes-services</artifactId>
  8. <groupId>com.uas.cloud.base.jkes.services</groupId>
  9. <version>1.1.0</version>
  10. </parent>
  11. <artifactId>jkes-delete-connector</artifactId>
  12. <version>1.1.0</version>
  13. <properties>
  14. <confluent.version>3.2.1</confluent.version>
  15. <kafka.version>0.10.2.1</kafka.version>
  16. <junit.version>4.12</junit.version>
  17. <es.version>2.4.1</es.version>
  18. <lucene.version>5.5.2</lucene.version>
  19. <slf4j.version>1.7.5</slf4j.version>
  20. <jna.version>4.2.1</jna.version>
  21. <hamcrest.version>2.0.0.0</hamcrest.version>
  22. <jest.version>2.0.0</jest.version>
  23. <confluent.maven.repo>http://packages.confluent.io/maven/</confluent.maven.repo>
  24. </properties>
  25. <repositories>
  26. <repository>
  27. <id>confluent</id>
  28. <name>Confluent</name>
  29. <url>${confluent.maven.repo}</url>
  30. </repository>
  31. </repositories>
  32. <dependencies>
  33. <dependency>
  34. <groupId>org.apache.kafka</groupId>
  35. <artifactId>connect-api</artifactId>
  36. <version>${kafka.version}</version>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.fasterxml.jackson.core</groupId>
  41. <artifactId>jackson-databind</artifactId>
  42. <version>2.8.5</version>
  43. <scope>compile</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.kafka</groupId>
  47. <artifactId>connect-json</artifactId>
  48. <version>${kafka.version}</version>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>io.searchbox</groupId>
  53. <artifactId>jest</artifactId>
  54. <version>${jest.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-simple</artifactId>
  59. <version>${slf4j.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>net.java.dev.jna</groupId>
  63. <artifactId>jna</artifactId>
  64. <version>${jna.version}</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.hamcrest</groupId>
  69. <artifactId>hamcrest-junit</artifactId>
  70. <version>${hamcrest.version}</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>junit</groupId>
  75. <artifactId>junit</artifactId>
  76. <version>${junit.version}</version>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>org.hamcrest</groupId>
  80. <artifactId>hamcrest-core</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.lucene</groupId>
  87. <artifactId>lucene-test-framework</artifactId>
  88. <version>${lucene.version}</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.elasticsearch</groupId>
  93. <artifactId>elasticsearch</artifactId>
  94. <version>${es.version}</version>
  95. <scope>test</scope>
  96. <type>test-jar</type>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.elasticsearch</groupId>
  100. <artifactId>elasticsearch</artifactId>
  101. <version>${es.version}</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.lucene</groupId>
  106. <artifactId>lucene-expressions</artifactId>
  107. <version>${lucene.version}</version>
  108. <scope>test</scope>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>2.5.1</version>
  117. <inherited>true</inherited>
  118. <configuration>
  119. <source>1.7</source>
  120. <target>1.7</target>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-assembly-plugin</artifactId>
  125. <version>2.5.3</version>
  126. <configuration>
  127. <descriptors>
  128. <descriptor>src/assembly/development.xml</descriptor>
  129. <descriptor>src/assembly/package.xml</descriptor>
  130. </descriptors>
  131. </configuration>
  132. <executions>
  133. <execution>
  134. <id>make-assembly</id>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>single</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-surefire-plugin</artifactId>
  145. <version>2.18.1</version>
  146. <configuration>
  147. <argLine>-Djava.awt.headless=true</argLine>
  148. <argLine>-Dtests.security.manager=false</argLine>
  149. </configuration>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-checkstyle-plugin</artifactId>
  154. <version>2.17</version>
  155. <executions>
  156. <execution>
  157. <id>validate</id>
  158. <phase>validate</phase>
  159. <configuration>
  160. <configLocation>checkstyle/checkstyle.xml</configLocation>
  161. <encoding>UTF-8</encoding>
  162. <consoleOutput>true</consoleOutput>
  163. <failsOnError>true</failsOnError>
  164. <includeResources>false</includeResources>
  165. <includeTestResources>false</includeTestResources>
  166. </configuration>
  167. <goals>
  168. <goal>check</goal>
  169. </goals>
  170. </execution>
  171. </executions>
  172. </plugin>
  173. </plugins>
  174. <resources>
  175. <resource>
  176. <directory>src/main/resources</directory>
  177. <filtering>true</filtering>
  178. </resource>
  179. </resources>
  180. </build>
  181. <profiles>
  182. <profile>
  183. <id>standalone</id>
  184. <build>
  185. <plugins>
  186. <plugin>
  187. <artifactId>maven-assembly-plugin</artifactId>
  188. <configuration>
  189. <descriptors>
  190. <descriptor>src/assembly/standalone.xml</descriptor>
  191. </descriptors>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. </profile>
  197. </profiles>
  198. </project>