pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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.tablestore</artifactId>
  12. <packaging>jar</packaging>
  13. <name>canal client adapter rdb 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>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.12</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.aliyun.openservices</groupId>
  29. <artifactId>tablestore</artifactId>
  30. <classifier>jar-with-dependencies</classifier>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>com.google.protobuf</groupId>
  34. <artifactId>protobuf-java</artifactId>
  35. </exclusion>
  36. <exclusion>
  37. <groupId>org.apache.httpcomponents</groupId>
  38. <artifactId>httpasyncclient</artifactId>
  39. </exclusion>
  40. </exclusions>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-assembly-plugin</artifactId>
  48. <version>2.4</version>
  49. <configuration>
  50. <descriptorRefs>
  51. <descriptorRef>jar-with-dependencies</descriptorRef>
  52. </descriptorRefs>
  53. </configuration>
  54. <executions>
  55. <execution>
  56. <id>make-assembly</id>
  57. <phase>package</phase>
  58. <goals>
  59. <goal>single</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. <plugin>
  65. <artifactId>maven-antrun-plugin</artifactId>
  66. <executions>
  67. <execution>
  68. <phase>package</phase>
  69. <goals>
  70. <goal>run</goal>
  71. </goals>
  72. <configuration>
  73. <tasks>
  74. <copy todir="${project.basedir}/../launcher/target/classes/tablestore" overwrite="true">
  75. <fileset dir="${project.basedir}/target/classes/tablestore" erroronmissingdir="true">
  76. <include name="*.yml" />
  77. </fileset>
  78. </copy>
  79. </tasks>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>