pom.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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.8</version>
  7. <relativePath>../pom.xml</relativePath>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>com.alibaba.otter</groupId>
  11. <artifactId>client-adapter.rdb</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>mysql</groupId>
  23. <artifactId>mysql-connector-java</artifactId>
  24. <scope>test</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.postgresql</groupId>
  28. <artifactId>postgresql</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.oracle.database.jdbc</groupId>
  33. <artifactId>ojdbc6</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.microsoft.sqlserver</groupId>
  38. <artifactId>mssql-jdbc</artifactId>
  39. <scope>test</scope>
  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/rdb" overwrite="true">
  79. <fileset dir="${project.basedir}/target/classes/rdb" 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>