pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <groupId>com.alibaba.datax</groupId>
  7. <artifactId>datax-all</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>neo4jwriter</artifactId>
  12. <name>neo4jwriter</name>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <neo4j-java-driver.version>4.4.9</neo4j-java-driver.version>
  19. <junit4.version>4.13.2</junit4.version>
  20. <test.container.version>1.17.6</test.container.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.slf4j</groupId>
  25. <artifactId>slf4j-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>ch.qos.logback</groupId>
  29. <artifactId>logback-classic</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.neo4j.driver</groupId>
  33. <artifactId>neo4j-java-driver</artifactId>
  34. <version>${neo4j-java-driver.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.alibaba.datax</groupId>
  38. <artifactId>datax-common</artifactId>
  39. <version>${datax-project-version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.testcontainers</groupId>
  43. <artifactId>testcontainers</artifactId>
  44. <version>${test.container.version}</version>
  45. </dependency>
  46. <!-- Testcontainers 1.x is tightly coupled with the JUnit 4.x rule API-->
  47. <dependency>
  48. <groupId>junit</groupId>
  49. <artifactId>junit</artifactId>
  50. <version>${junit4.version}</version>
  51. <scope>test</scope>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <resources>
  56. <resource>
  57. <directory>src/main/resources</directory>
  58. <includes>
  59. <include>**/*.*</include>
  60. </includes>
  61. <filtering>true</filtering>
  62. </resource>
  63. </resources>
  64. <plugins>
  65. <!-- compiler plugin -->
  66. <plugin>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <configuration>
  69. <source>${jdk-version}</source>
  70. <target>${jdk-version}</target>
  71. <encoding>${project-sourceEncoding}</encoding>
  72. </configuration>
  73. </plugin>
  74. <!-- assembly plugin -->
  75. <plugin>
  76. <artifactId>maven-assembly-plugin</artifactId>
  77. <configuration>
  78. <descriptors>
  79. <descriptor>src/main/assembly/package.xml</descriptor>
  80. </descriptors>
  81. <finalName>datax</finalName>
  82. </configuration>
  83. <executions>
  84. <execution>
  85. <id>dwzip</id>
  86. <phase>package</phase>
  87. <goals>
  88. <goal>single</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>