pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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>txtfilereader</artifactId>
  10. <name>txtfilereader</name>
  11. <description>TxtFileReader提供了本地读取TEXT功能,并可以根据用户配置的类型进行类型转换,建议开发、测试环境使用。</description>
  12. <packaging>jar</packaging>
  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>com.alibaba.datax</groupId>
  27. <artifactId>plugin-unstructured-storage-util</artifactId>
  28. <version>${datax-project-version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-api</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>ch.qos.logback</groupId>
  36. <artifactId>logback-classic</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.google.guava</groupId>
  40. <artifactId>guava</artifactId>
  41. <version>16.0.1</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <!-- compiler plugin -->
  47. <plugin>
  48. <artifactId>maven-compiler-plugin</artifactId>
  49. <configuration>
  50. <source>${jdk-version}</source>
  51. <target>${jdk-version}</target>
  52. <encoding>${project-sourceEncoding}</encoding>
  53. </configuration>
  54. </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>