pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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>mongodbwriter</artifactId>
  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>com.alibaba.datax</groupId>
  26. <artifactId>plugin-unstructured-storage-util</artifactId>
  27. <version>${datax-project-version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.slf4j</groupId>
  31. <artifactId>slf4j-api</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>ch.qos.logback</groupId>
  35. <artifactId>logback-classic</artifactId>
  36. </dependency>
  37. <!-- mongodb 依赖 -->
  38. <dependency>
  39. <groupId>org.mongodb</groupId>
  40. <artifactId>mongo-java-driver</artifactId>
  41. <version>3.2.2</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.guava</groupId>
  45. <artifactId>guava</artifactId>
  46. <version>16.0.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba.datax</groupId>
  50. <artifactId>plugin-rdbms-util</artifactId>
  51. <version>${datax-project-version}</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <!-- compiler plugin -->
  57. <plugin>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <configuration>
  60. <source>${jdk-version}</source>
  61. <target>${jdk-version}</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>