pom.xml 4.2 KB

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