pom.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>datax-all</artifactId>
  5. <groupId>com.alibaba.datax</groupId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>oceanbasev10reader</artifactId>
  10. <groupId>com.alibaba.datax</groupId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.alibaba.datax</groupId>
  16. <artifactId>datax-common</artifactId>
  17. <version>${datax-project-version}</version>
  18. <exclusions>
  19. <exclusion>
  20. <artifactId>slf4j-log4j12</artifactId>
  21. <groupId>org.slf4j</groupId>
  22. </exclusion>
  23. </exclusions>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.slf4j</groupId>
  27. <artifactId>slf4j-api</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>ch.qos.logback</groupId>
  31. <artifactId>logback-classic</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba.datax</groupId>
  35. <artifactId>plugin-rdbms-util</artifactId>
  36. <version>${datax-project-version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. <version>5.1.40</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>log4j</groupId>
  45. <artifactId>log4j</artifactId>
  46. <version>1.2.16</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>junit</groupId>
  50. <artifactId>junit</artifactId>
  51. <version>4.11</version>
  52. <scope>test</scope>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <resources>
  57. <resource>
  58. <directory>src/main/java</directory>
  59. <includes>
  60. <include>**/*.properties</include>
  61. </includes>
  62. </resource>
  63. </resources>
  64. <plugins>
  65. <!-- compiler plugin -->
  66. <plugin>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <configuration>
  69. <source>${jdk-version}</source>
  70. <target>${jdk-version}</target>
  71. <encoding>${project-sourceEncoding}</encoding>
  72. </configuration>
  73. </plugin>
  74. <!-- assembly plugin -->
  75. <plugin>
  76. <artifactId>maven-assembly-plugin</artifactId>
  77. <configuration>
  78. <descriptors>
  79. <descriptor>src/main/assembly/package.xml</descriptor>
  80. </descriptors>
  81. <finalName>datax</finalName>
  82. </configuration>
  83. <executions>
  84. <execution>
  85. <id>dwzip</id>
  86. <phase>package</phase>
  87. <goals>
  88. <goal>single</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>