pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.alibaba.datax</groupId>
  6. <artifactId>datax-all</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>adbmysqlwriter</artifactId>
  10. <name>adbmysqlwriter</name>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.alibaba.datax</groupId>
  15. <artifactId>datax-common</artifactId>
  16. <version>${datax-project-version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <artifactId>slf4j-log4j12</artifactId>
  20. <groupId>org.slf4j</groupId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.slf4j</groupId>
  26. <artifactId>slf4j-api</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>ch.qos.logback</groupId>
  30. <artifactId>logback-classic</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba.datax</groupId>
  34. <artifactId>plugin-rdbms-util</artifactId>
  35. <version>${datax-project-version}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. <version>5.1.40</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <!-- compiler plugin -->
  46. <plugin>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <configuration>
  49. <source>${jdk-version}</source>
  50. <target>${jdk-version}</target>
  51. <encoding>${project-sourceEncoding}</encoding>
  52. </configuration>
  53. </plugin>
  54. <!-- assembly plugin -->
  55. <plugin>
  56. <artifactId>maven-assembly-plugin</artifactId>
  57. <configuration>
  58. <descriptors>
  59. <descriptor>src/main/assembly/package.xml</descriptor>
  60. </descriptors>
  61. <finalName>datax</finalName>
  62. </configuration>
  63. <executions>
  64. <execution>
  65. <id>dwzip</id>
  66. <phase>package</phase>
  67. <goals>
  68. <goal>single</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>