pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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" 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>elasticsearchwriter</artifactId>
  10. <groupId>com.alibaba.datax</groupId>
  11. <version>0.0.1-SNAPSHOT</version>
  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>io.searchbox</groupId>
  34. <artifactId>jest-common</artifactId>
  35. <version>2.4.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>io.searchbox</groupId>
  39. <artifactId>jest</artifactId>
  40. <version>2.4.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>joda-time</groupId>
  44. <artifactId>joda-time</artifactId>
  45. <version>2.9.7</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>junit</groupId>
  49. <artifactId>junit</artifactId>
  50. <version>4.11</version>
  51. <scope>test</scope>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <!-- compiler plugin -->
  57. <plugin>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <configuration>
  60. <source>1.6</source>
  61. <target>1.6</target>
  62. <encoding>${project-sourceEncoding}</encoding>
  63. </configuration>
  64. </plugin>
  65. <!-- assembly plugin -->
  66. <plugin>
  67. <artifactId>maven-assembly-plugin</artifactId>
  68. <configuration>
  69. <descriptors>
  70. <descriptor>src/main/assembly/package.xml</descriptor>
  71. </descriptors>
  72. <finalName>datax</finalName>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <id>dwzip</id>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>single</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>