pom.xml 3.0 KB

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