pom.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>canal.client-adapter</artifactId>
  6. <groupId>com.alibaba.otter</groupId>
  7. <version>1.1.7-SNAPSHOT</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.alibaba.otter</groupId>
  12. <artifactId>client-adapter.es8x</artifactId>
  13. <packaging>jar</packaging>
  14. <name>canal client adapter es v8x module for otter ${project.version}</name>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.alibaba.otter</groupId>
  18. <artifactId>client-adapter.common</artifactId>
  19. <version>${project.version}</version>
  20. <scope>provided</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.alibaba.otter</groupId>
  24. <artifactId>client-adapter.escore</artifactId>
  25. <version>${project.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>co.elastic.clients</groupId>
  29. <artifactId>elasticsearch-java</artifactId>
  30. <version>8.6.2</version>
  31. </dependency>
  32. <!--<dependency>
  33. <groupId>org.elasticsearch.client</groupId>
  34. <artifactId>elasticsearch-rest-client</artifactId>
  35. <version>8.6.2</version>
  36. </dependency>-->
  37. <dependency>
  38. <groupId>org.elasticsearch.client</groupId>
  39. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  40. <version>7.17.9</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-assembly-plugin</artifactId>
  53. <version>2.4</version>
  54. <configuration>
  55. <descriptorRefs>
  56. <descriptorRef>jar-with-dependencies</descriptorRef>
  57. </descriptorRefs>
  58. </configuration>
  59. <executions>
  60. <execution>
  61. <id>make-assembly</id>
  62. <phase>package</phase>
  63. <goals>
  64. <goal>single</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <plugin>
  70. <artifactId>maven-antrun-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <phase>package</phase>
  74. <goals>
  75. <goal>run</goal>
  76. </goals>
  77. <configuration>
  78. <tasks>
  79. <copy todir="${project.basedir}/../launcher/target/classes/es8" overwrite="true">
  80. <fileset dir="${project.basedir}/target/classes/es8" erroronmissingdir="true">
  81. <include name="*.yml"/>
  82. </fileset>
  83. </copy>
  84. </tasks>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>