1
0

pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.alibaba.datax</groupId>
  7. <artifactId>datax-all</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>mysqlreader</artifactId>
  11. <name>mysqlreader</name>
  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>${mysql.driver.version}</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <!-- compiler plugin -->
  47. <plugin>
  48. <artifactId>maven-compiler-plugin</artifactId>
  49. <configuration>
  50. <source>${jdk-version}</source>
  51. <target>${jdk-version}</target>
  52. <encoding>${project-sourceEncoding}</encoding>
  53. </configuration>
  54. </plugin>
  55. <!-- assembly plugin -->
  56. <plugin>
  57. <artifactId>maven-assembly-plugin</artifactId>
  58. <configuration>
  59. <descriptors>
  60. <descriptor>src/main/assembly/package.xml</descriptor>
  61. </descriptors>
  62. <finalName>datax</finalName>
  63. </configuration>
  64. <executions>
  65. <execution>
  66. <id>dwzip</id>
  67. <phase>package</phase>
  68. <goals>
  69. <goal>single</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>