1
0

pom.xml 3.6 KB

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