pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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>odpsreader</artifactId>
  10. <name>odpsreader</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. <dependency>
  38. <groupId>org.xerial</groupId>
  39. <artifactId>sqlite-jdbc</artifactId>
  40. <version>3.34.0</version>
  41. </dependency>
  42. <!-- ref:http://odps.alibaba-inc.com/doc/prddoc/odps_sdk_v2/sdk.html -->
  43. <dependency>
  44. <groupId>com.aliyun.odps</groupId>
  45. <artifactId>odps-sdk-core</artifactId>
  46. <version>0.38.4-public</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.mockito</groupId>
  50. <artifactId>mockito-core</artifactId>
  51. <version>1.8.5</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.powermock</groupId>
  56. <artifactId>powermock-api-mockito</artifactId>
  57. <version>1.4.10</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.powermock</groupId>
  62. <artifactId>powermock-module-junit4</artifactId>
  63. <version>1.4.10</version>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.mockito</groupId>
  68. <artifactId>mockito-core</artifactId>
  69. <version>1.8.5</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.powermock</groupId>
  74. <artifactId>powermock-api-mockito</artifactId>
  75. <version>1.4.10</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.powermock</groupId>
  80. <artifactId>powermock-module-junit4</artifactId>
  81. <version>1.4.10</version>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-codec</groupId>
  86. <artifactId>commons-codec</artifactId>
  87. <version>1.8</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <resources>
  92. <resource>
  93. <directory>src/main/java</directory>
  94. <includes>
  95. <include>**/*.properties</include>
  96. </includes>
  97. </resource>
  98. </resources>
  99. <plugins>
  100. <!-- compiler plugin -->
  101. <plugin>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <configuration>
  104. <source>${jdk-version}</source>
  105. <target>${jdk-version}</target>
  106. <encoding>${project-sourceEncoding}</encoding>
  107. </configuration>
  108. </plugin>
  109. <!-- assembly plugin -->
  110. <plugin>
  111. <artifactId>maven-assembly-plugin</artifactId>
  112. <configuration>
  113. <descriptors>
  114. <descriptor>src/main/assembly/package.xml</descriptor>
  115. </descriptors>
  116. <finalName>datax</finalName>
  117. </configuration>
  118. <executions>
  119. <execution>
  120. <id>dwzip</id>
  121. <phase>package</phase>
  122. <goals>
  123. <goal>single</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>