pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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.3-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>com.alibaba.otter</groupId>
  10. <artifactId>client-adapter.hbase</artifactId>
  11. <packaging>jar</packaging>
  12. <name>canal client adapter hbase 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>org.yaml</groupId>
  22. <artifactId>snakeyaml</artifactId>
  23. <version>1.19</version>
  24. <scope>provided</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.hbase</groupId>
  28. <artifactId>hbase-client</artifactId>
  29. <version>1.1.2</version>
  30. <exclusions>
  31. <exclusion>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-log4j12</artifactId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.google.guava</groupId>
  39. <artifactId>guava</artifactId>
  40. <version>12.0.1</version>
  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/hbase" overwrite="true">
  75. <fileset dir="${project.basedir}/target/classes/hbase" 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>