pom.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.alibaba.datax</groupId>
  6. <artifactId>datax-all</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>postgresqlwriter</artifactId>
  10. <name>postgresqlwriter</name>
  11. <packaging>jar</packaging>
  12. <description>writer data into postgresql database</description>
  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>org.postgresql</groupId>
  40. <artifactId>postgresql</artifactId>
  41. <version>9.3-1102-jdbc4</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <!-- compiler plugin -->
  47. <plugin>
  48. <artifactId>maven-compiler-plugin</artifactId>
  49. <configuration>
  50. <source>1.6</source>
  51. <target>1.6</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>