pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.alibaba.datax</groupId>
  7. <artifactId>datax-all</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>cassandrareader</artifactId>
  11. <name>cassandrareader</name>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.alibaba.datax</groupId>
  16. <artifactId>datax-common</artifactId>
  17. <version>${datax-project-version}</version>
  18. <exclusions>
  19. <exclusion>
  20. <artifactId>slf4j-log4j12</artifactId>
  21. <groupId>org.slf4j</groupId>
  22. </exclusion>
  23. </exclusions>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.slf4j</groupId>
  27. <artifactId>slf4j-api</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>ch.qos.logback</groupId>
  31. <artifactId>logback-classic</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.datastax.cassandra</groupId>
  35. <artifactId>cassandra-driver-core</artifactId>
  36. <version>3.7.2</version>
  37. <classifier>shaded</classifier>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>com.google.guava</groupId>
  41. <artifactId>guava</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.google.guava</groupId>
  47. <artifactId>guava</artifactId>
  48. <version>16.0.1</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>commons-codec</groupId>
  52. <artifactId>commons-codec</artifactId>
  53. <version>1.9</version>
  54. </dependency>
  55. <!-- for test -->
  56. <dependency>
  57. <groupId>junit</groupId>
  58. <artifactId>junit</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.datax</groupId>
  63. <artifactId>datax-core</artifactId>
  64. <version>${datax-project-version}</version>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>com.alibaba.datax</groupId>
  68. <artifactId>datax-service-face</artifactId>
  69. </exclusion>
  70. <exclusion>
  71. <groupId>org.apache.hadoop</groupId>
  72. <artifactId>hadoop-common</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.apache.hive</groupId>
  76. <artifactId>hive-exec</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>org.apache.hive</groupId>
  80. <artifactId>hive-serde</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>javolution</groupId>
  84. <artifactId>javolution</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mockito</groupId>
  91. <artifactId>mockito-all</artifactId>
  92. <version>1.9.5</version>
  93. <scope>test</scope>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <plugins>
  98. <!-- compiler plugin -->
  99. <plugin>
  100. <artifactId>maven-compiler-plugin</artifactId>
  101. <configuration>
  102. <source>${jdk-version}</source>
  103. <target>${jdk-version}</target>
  104. <encoding>${project-sourceEncoding}</encoding>
  105. </configuration>
  106. </plugin>
  107. <!-- assembly plugin -->
  108. <plugin>
  109. <artifactId>maven-assembly-plugin</artifactId>
  110. <configuration>
  111. <descriptors>
  112. <descriptor>src/main/assembly/package.xml</descriptor>
  113. </descriptors>
  114. <finalName>datax</finalName>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <id>dwzip</id>
  119. <phase>package</phase>
  120. <goals>
  121. <goal>single</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>