1
0

pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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>gaussdbreader</artifactId>
  12. <name>gaussdbreader</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. </exclusions>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.slf4j</groupId>
  28. <artifactId>slf4j-api</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>ch.qos.logback</groupId>
  32. <artifactId>logback-classic</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.datax</groupId>
  36. <artifactId>plugin-rdbms-util</artifactId>
  37. <version>${datax-project-version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.opengauss</groupId>
  41. <artifactId>opengauss-jdbc</artifactId>
  42. <version>3.0.0</version>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <plugins>
  47. <!-- compiler plugin -->
  48. <plugin>
  49. <artifactId>maven-compiler-plugin</artifactId>
  50. <configuration>
  51. <source>${jdk-version}</source>
  52. <target>${jdk-version}</target>
  53. <encoding>${project-sourceEncoding}</encoding>
  54. </configuration>
  55. </plugin>
  56. <!-- assembly plugin -->
  57. <plugin>
  58. <artifactId>maven-assembly-plugin</artifactId>
  59. <configuration>
  60. <descriptors>
  61. <descriptor>src/main/assembly/package.xml</descriptor>
  62. </descriptors>
  63. <finalName>datax</finalName>
  64. </configuration>
  65. <executions>
  66. <execution>
  67. <id>dwzip</id>
  68. <phase>package</phase>
  69. <goals>
  70. <goal>single</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. </project>