1
0

pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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>mongodbreader</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. </dependencies>
  49. <build>
  50. <plugins>
  51. <!-- compiler plugin -->
  52. <plugin>
  53. <artifactId>maven-compiler-plugin</artifactId>
  54. <configuration>
  55. <source>${jdk-version}</source>
  56. <target>${jdk-version}</target>
  57. <encoding>${project-sourceEncoding}</encoding>
  58. </configuration>
  59. </plugin>
  60. <!-- assembly plugin -->
  61. <plugin>
  62. <artifactId>maven-assembly-plugin</artifactId>
  63. <configuration>
  64. <descriptors>
  65. <descriptor>src/main/assembly/package.xml</descriptor>
  66. </descriptors>
  67. <finalName>datax</finalName>
  68. </configuration>
  69. <executions>
  70. <execution>
  71. <id>dwzip</id>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>single</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </project>