pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <artifactId>datax-all</artifactId>
  5. <groupId>com.alibaba.datax</groupId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>datahubwriter</artifactId>
  10. <version>0.0.1-SNAPSHOT</version>
  11. <dependencies>
  12. <dependency>
  13. <groupId>com.alibaba.datax</groupId>
  14. <artifactId>datax-common</artifactId>
  15. <version>${datax-project-version}</version>
  16. <exclusions>
  17. <exclusion>
  18. <artifactId>slf4j-log4j12</artifactId>
  19. <groupId>org.slf4j</groupId>
  20. </exclusion>
  21. </exclusions>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.slf4j</groupId>
  25. <artifactId>slf4j-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>ch.qos.logback</groupId>
  29. <artifactId>logback-classic</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.aliyun.datahub</groupId>
  33. <artifactId>aliyun-sdk-datahub</artifactId>
  34. <version>2.21.6-public</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <version>4.12</version>
  40. <scope>test</scope>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <!-- compiler plugin -->
  46. <plugin>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <configuration>
  49. <source>${jdk-version}</source>
  50. <target>${jdk-version}</target>
  51. <encoding>${project-sourceEncoding}</encoding>
  52. </configuration>
  53. </plugin>
  54. <!-- assembly plugin -->
  55. <plugin>
  56. <artifactId>maven-assembly-plugin</artifactId>
  57. <configuration>
  58. <descriptors>
  59. <descriptor>src/main/assembly/package.xml</descriptor>
  60. </descriptors>
  61. <finalName>datax</finalName>
  62. </configuration>
  63. <executions>
  64. <execution>
  65. <id>dwzip</id>
  66. <phase>package</phase>
  67. <goals>
  68. <goal>single</goal>
  69. </goals>
  70. </execution>
  71. </executions>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>