pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>com.alibaba.datax</groupId>
  7. <artifactId>datax-all</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>adswriter</artifactId>
  12. <name>adswriter</name>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.alibaba.datax</groupId>
  17. <artifactId>datax-common</artifactId>
  18. <version>${datax-project-version}</version>
  19. <exclusions>
  20. <exclusion>
  21. <artifactId>slf4j-log4j12</artifactId>
  22. <groupId>org.slf4j</groupId>
  23. </exclusion>
  24. <exclusion>
  25. <groupId>mysql</groupId>
  26. <artifactId>mysql-connector-java</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba.datax</groupId>
  32. <artifactId>datax-core</artifactId>
  33. <version>${datax-project-version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.alibaba.datax</groupId>
  37. <artifactId>plugin-rdbms-util</artifactId>
  38. <version>${datax-project-version}</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>com.alibaba</groupId>
  42. <artifactId>druid</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba.cloud.analyticdb</groupId>
  48. <artifactId>adbclient</artifactId>
  49. <version>1.0.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid</artifactId>
  54. <version>1.1.12</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-exec</artifactId>
  63. <version>1.3</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba.datax</groupId>
  67. <artifactId>odpswriter</artifactId>
  68. <version>${datax-project-version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>ch.qos.logback</groupId>
  72. <artifactId>logback-classic</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>mysql</groupId>
  76. <artifactId>mysql-connector-java</artifactId>
  77. <version>5.1.31</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-configuration</groupId>
  81. <artifactId>commons-configuration</artifactId>
  82. <version>1.10</version>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <!-- compiler plugin -->
  88. <plugin>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <configuration>
  91. <source>${jdk-version}</source>
  92. <target>${jdk-version}</target>
  93. <encoding>${project-sourceEncoding}</encoding>
  94. </configuration>
  95. </plugin>
  96. <!-- assembly plugin -->
  97. <plugin>
  98. <artifactId>maven-assembly-plugin</artifactId>
  99. <configuration>
  100. <descriptors>
  101. <descriptor>src/main/assembly/package.xml</descriptor>
  102. </descriptors>
  103. <finalName>datax</finalName>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>dwzip</id>
  108. <phase>package</phase>
  109. <goals>
  110. <goal>single</goal>
  111. </goals>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>