pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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>ossreader</artifactId>
  10. <name>ossreader</name>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.apache.logging.log4j</groupId>
  15. <artifactId>log4j-api</artifactId>
  16. <version>2.17.1</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.apache.logging.log4j</groupId>
  20. <artifactId>log4j-core</artifactId>
  21. <version>2.17.1</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.alibaba.datax</groupId>
  25. <artifactId>datax-common</artifactId>
  26. <version>${datax-project-version}</version>
  27. <exclusions>
  28. <exclusion>
  29. <artifactId>slf4j-log4j12</artifactId>
  30. <groupId>org.slf4j</groupId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.datax</groupId>
  36. <artifactId>plugin-unstructured-storage-util</artifactId>
  37. <version>${datax-project-version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>ch.qos.logback</groupId>
  45. <artifactId>logback-classic</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.google.guava</groupId>
  49. <artifactId>guava</artifactId>
  50. <version>16.0.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.aliyun.oss</groupId>
  54. <artifactId>aliyun-sdk-oss</artifactId>
  55. <version>3.4.2</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>junit</groupId>
  59. <artifactId>junit</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba.datax</groupId>
  64. <artifactId>hdfsreader</artifactId>
  65. <version>0.0.1-SNAPSHOT</version>
  66. <scope>compile</scope>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <!-- compiler plugin -->
  72. <plugin>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <configuration>
  75. <source>${jdk-version}</source>
  76. <target>${jdk-version}</target>
  77. <encoding>${project-sourceEncoding}</encoding>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-assembly-plugin</artifactId>
  82. <configuration>
  83. <descriptors>
  84. <descriptor>src/main/assembly/package.xml</descriptor>
  85. </descriptors>
  86. <finalName>datax</finalName>
  87. </configuration>
  88. <executions>
  89. <execution>
  90. <id>dwzip</id>
  91. <phase>package</phase>
  92. <goals>
  93. <goal>single</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>