pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <artifactId>canal.client-adapter</artifactId>
  5. <groupId>com.alibaba.otter</groupId>
  6. <version>1.1.5-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>com.alibaba.otter</groupId>
  10. <artifactId>client-adapter.elasticsearch</artifactId>
  11. <packaging>jar</packaging>
  12. <name>canal client adapter elasticsearch module for otter ${project.version}</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.alibaba.otter</groupId>
  16. <artifactId>client-adapter.common</artifactId>
  17. <version>${project.version}</version>
  18. <scope>provided</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba.fastsql</groupId>
  22. <artifactId>fastsql</artifactId>
  23. <version>2.0.0_preview_855</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.elasticsearch</groupId>
  27. <artifactId>elasticsearch</artifactId>
  28. <version>6.4.3</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.elasticsearch.client</groupId>
  32. <artifactId>transport</artifactId>
  33. <version>6.4.3</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.elasticsearch.client</groupId>
  37. <artifactId>elasticsearch-rest-client</artifactId>
  38. <version>6.4.3</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.elasticsearch.client</groupId>
  42. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  43. <version>6.4.3</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>junit</groupId>
  47. <artifactId>junit</artifactId>
  48. <version>4.12</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. <version>5.1.40</version>
  55. <scope>test</scope>
  56. </dependency>
  57. </dependencies>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-assembly-plugin</artifactId>
  63. <version>2.4</version>
  64. <configuration>
  65. <descriptorRefs>
  66. <descriptorRef>jar-with-dependencies</descriptorRef>
  67. </descriptorRefs>
  68. </configuration>
  69. <executions>
  70. <execution>
  71. <id>make-assembly</id>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>single</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-antrun-plugin</artifactId>
  81. <executions>
  82. <execution>
  83. <phase>package</phase>
  84. <goals>
  85. <goal>run</goal>
  86. </goals>
  87. <configuration>
  88. <tasks>
  89. <copy todir="${project.basedir}/../launcher/target/classes/es" overwrite="true">
  90. <fileset dir="${project.basedir}/target/classes/es" erroronmissingdir="true">
  91. <include name="*.yml" />
  92. </fileset>
  93. </copy>
  94. </tasks>
  95. </configuration>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>