pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <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>datax-transformer</artifactId>
  10. <packaging>jar</packaging>
  11. <name>datax-transformer</name>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <datax-version>0.0.1-SNAPSHOT</datax-version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.datax</groupId>
  19. <artifactId>datax-common</artifactId>
  20. <version>${datax-version}</version>
  21. <exclusions>
  22. <exclusion>
  23. <artifactId>slf4j-log4j12</artifactId>
  24. <groupId>org.slf4j</groupId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <!-- compiler plugin -->
  32. <plugin>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <configuration>
  35. <source>${jdk-version}</source>
  36. <target>${jdk-version}</target>
  37. <encoding>${project-sourceEncoding}</encoding>
  38. </configuration>
  39. </plugin>
  40. <!-- assembly plugin -->
  41. <plugin>
  42. <artifactId>maven-assembly-plugin</artifactId>
  43. <configuration>
  44. <descriptors>
  45. <descriptor>src/main/assembly/package.xml</descriptor>
  46. </descriptors>
  47. <finalName>datax</finalName>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <id>dwzip</id>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>