pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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.rdb</artifactId>
  11. <packaging>jar</packaging>
  12. <name>canal client adapter rdb 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>mysql</groupId>
  22. <artifactId>mysql-connector-java</artifactId>
  23. <version>5.1.47</version>
  24. <scope>test</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.postgresql</groupId>
  28. <artifactId>postgresql</artifactId>
  29. <version>42.1.4</version>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.oracle</groupId>
  34. <artifactId>ojdbc6</artifactId>
  35. <version>11.2.0.3</version>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.microsoft.sqlserver</groupId>
  40. <artifactId>mssql-jdbc</artifactId>
  41. <version>7.0.0.jre8</version>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>junit</groupId>
  46. <artifactId>junit</artifactId>
  47. <version>4.12</version>
  48. <scope>test</scope>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <version>2.4</version>
  57. <configuration>
  58. <descriptorRefs>
  59. <descriptorRef>jar-with-dependencies</descriptorRef>
  60. </descriptorRefs>
  61. </configuration>
  62. <executions>
  63. <execution>
  64. <id>make-assembly</id>
  65. <phase>package</phase>
  66. <goals>
  67. <goal>single</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <artifactId>maven-antrun-plugin</artifactId>
  74. <executions>
  75. <execution>
  76. <phase>package</phase>
  77. <goals>
  78. <goal>run</goal>
  79. </goals>
  80. <configuration>
  81. <tasks>
  82. <copy todir="${project.basedir}/../launcher/target/classes/rdb" overwrite="true">
  83. <fileset dir="${project.basedir}/target/classes/rdb" erroronmissingdir="true">
  84. <include name="*.yml" />
  85. </fileset>
  86. </copy>
  87. </tasks>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>