pom.xml 2.0 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>streamwriter</artifactId>
  10. <name>streamwriter</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. </dependencies>
  33. <build>
  34. <resources>
  35. <!-- 将resource目录也输出到target-->
  36. <resource>
  37. <directory>src/main/resources</directory>
  38. <includes>
  39. <include>**/*.*</include>
  40. </includes>
  41. <filtering>true</filtering>
  42. </resource>
  43. </resources>
  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. <plugin>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <configuration>
  57. <descriptors>
  58. <descriptor>src/main/assembly/package.xml</descriptor>
  59. </descriptors>
  60. <finalName>datax</finalName>
  61. </configuration>
  62. <executions>
  63. <execution>
  64. <id>dwzip</id>
  65. <phase>package</phase>
  66. <goals>
  67. <goal>single</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>