pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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>hologresjdbcwriter</artifactId>
  12. <name>hologresjdbcwriter</name>
  13. <packaging>jar</packaging>
  14. <description>writer data into hologres using jdbc</description>
  15. <properties>
  16. <jdk-version>1.8
  17. </jdk-version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.alibaba.datax</groupId>
  22. <artifactId>datax-common</artifactId>
  23. <version>${datax-project-version}</version>
  24. <exclusions>
  25. <exclusion>
  26. <artifactId>slf4j-log4j12</artifactId>
  27. <groupId>org.slf4j</groupId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-api</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>ch.qos.logback</groupId>
  37. <artifactId>logback-classic</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.alibaba.datax</groupId>
  41. <artifactId>plugin-rdbms-util</artifactId>
  42. <version>${datax-project-version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.alibaba.hologres</groupId>
  46. <artifactId>holo-client</artifactId>
  47. <version>2.1.0</version>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <!-- compiler plugin -->
  53. <plugin>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <configuration>
  56. <source>${jdk-version}</source>
  57. <target>${jdk-version}</target>
  58. <encoding>${project-sourceEncoding}</encoding>
  59. </configuration>
  60. </plugin>
  61. <!-- assembly plugin -->
  62. <plugin>
  63. <artifactId>maven-assembly-plugin</artifactId>
  64. <configuration>
  65. <descriptors>
  66. <descriptor>src/main/assembly/package.xml</descriptor>
  67. </descriptors>
  68. <finalName>datax</finalName>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <id>dwzip</id>
  73. <phase>package</phase>
  74. <goals>
  75. <goal>single</goal>
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>