1
0

pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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>streamreader</artifactId>
  10. <name>streamreader</name>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.alibaba.datax</groupId>
  15. <artifactId>datax-common</artifactId>
  16. <version>${datax-project-version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <artifactId>slf4j-log4j12</artifactId>
  20. <groupId>org.slf4j</groupId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.slf4j</groupId>
  26. <artifactId>slf4j-api</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>ch.qos.logback</groupId>
  30. <artifactId>logback-classic</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.google.guava</groupId>
  34. <artifactId>guava</artifactId>
  35. <version>16.0.1</version>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <resources>
  40. <!--将resource目录也输出到target-->
  41. <resource>
  42. <directory>src/main/resources</directory>
  43. <includes>
  44. <include>**/*.*</include>
  45. </includes>
  46. <filtering>true</filtering>
  47. </resource>
  48. </resources>
  49. <plugins>
  50. <!-- compiler plugin -->
  51. <plugin>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <configuration>
  54. <source>${jdk-version}</source>
  55. <target>${jdk-version}</target>
  56. <encoding>${project-sourceEncoding}</encoding>
  57. </configuration>
  58. </plugin>
  59. <!-- assembly plugin -->
  60. <plugin>
  61. <artifactId>maven-assembly-plugin</artifactId>
  62. <configuration>
  63. <descriptors>
  64. <descriptor>src/main/assembly/package.xml</descriptor>
  65. </descriptors>
  66. <finalName>datax</finalName>
  67. </configuration>
  68. <executions>
  69. <execution>
  70. <id>dwzip</id>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>single</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>