1
0

pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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>odpswriter</artifactId>
  10. <name>odpswriter</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.aliyun.odps</groupId>
  34. <artifactId>odps-sdk-core</artifactId>
  35. <version>0.38.4-public</version>
  36. </dependency>
  37. <!-- httpclient begin -->
  38. <dependency>
  39. <groupId>commons-httpclient</groupId>
  40. <artifactId>commons-httpclient</artifactId>
  41. <version>3.1</version>
  42. </dependency>
  43. <!-- httpclient end -->
  44. <!-- json begin -->
  45. <!-- <dependency>
  46. <groupId>net.sf.json-lib</groupId>
  47. <artifactId>json-lib</artifactId>
  48. <version>2.2.3</version>
  49. </dependency> -->
  50. <!-- json end -->
  51. <dependency>
  52. <groupId>org.mockito</groupId>
  53. <artifactId>mockito-core</artifactId>
  54. <version>1.8.5</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.powermock</groupId>
  59. <artifactId>powermock-api-mockito</artifactId>
  60. <version>1.4.10</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.powermock</groupId>
  65. <artifactId>powermock-module-junit4</artifactId>
  66. <version>1.4.10</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
  70. <dependency>
  71. <groupId>org.aspectj</groupId>
  72. <artifactId>aspectjweaver</artifactId>
  73. <version>1.8.10</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-codec</groupId>
  77. <artifactId>commons-codec</artifactId>
  78. <version>1.8</version>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <resources>
  83. <resource>
  84. <directory>src/main/java</directory>
  85. <includes>
  86. <include>**/*.properties</include>
  87. </includes>
  88. </resource>
  89. </resources>
  90. <plugins>
  91. <!-- compiler plugin -->
  92. <plugin>
  93. <artifactId>maven-compiler-plugin</artifactId>
  94. <configuration>
  95. <source>${jdk-version}</source>
  96. <target>${jdk-version}</target>
  97. <encoding>${project-sourceEncoding}</encoding>
  98. </configuration>
  99. </plugin>
  100. <!-- assembly plugin -->
  101. <plugin>
  102. <artifactId>maven-assembly-plugin</artifactId>
  103. <configuration>
  104. <descriptors>
  105. <descriptor>src/main/assembly/package.xml</descriptor>
  106. </descriptors>
  107. <finalName>datax</finalName>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <id>dwzip</id>
  112. <phase>package</phase>
  113. <goals>
  114. <goal>single</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>