pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>tdenginereader</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba.datax</groupId>
  19. <artifactId>datax-common</artifactId>
  20. <version>${datax-project-version}</version>
  21. <exclusions>
  22. <exclusion>
  23. <artifactId>slf4j-log4j12</artifactId>
  24. <groupId>org.slf4j</groupId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.alibaba.datax.tdenginewriter</groupId>
  30. <artifactId>tdenginewriter</artifactId>
  31. <version>0.0.1-SNAPSHOT</version>
  32. <scope>compile</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.taosdata.jdbc</groupId>
  36. <artifactId>taos-jdbcdriver</artifactId>
  37. <version>2.0.39</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>junit</groupId>
  41. <artifactId>junit</artifactId>
  42. <version>${junit-version}</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba.datax</groupId>
  47. <artifactId>plugin-rdbms-util</artifactId>
  48. <version>0.0.1-SNAPSHOT</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba.datax</groupId>
  53. <artifactId>datax-core</artifactId>
  54. <version>0.0.1-SNAPSHOT</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <!-- 添加 dm8 jdbc jar 包依赖-->
  58. <!-- <dependency>-->
  59. <!-- <groupId>com.dameng</groupId>-->
  60. <!-- <artifactId>dm-jdbc</artifactId>-->
  61. <!-- <version>1.8</version>-->
  62. <!-- <scope>system</scope>-->
  63. <!-- <systemPath>${project.basedir}/src/test/resources/DmJdbcDriver18.jar</systemPath>-->
  64. <!-- </dependency>-->
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <!-- compiler plugin -->
  69. <plugin>
  70. <artifactId>maven-compiler-plugin</artifactId>
  71. <configuration>
  72. <source>${jdk-version}</source>
  73. <target>${jdk-version}</target>
  74. <encoding>${project-sourceEncoding}</encoding>
  75. </configuration>
  76. </plugin>
  77. <plugin>
  78. <artifactId>maven-assembly-plugin</artifactId>
  79. <configuration>
  80. <descriptors>
  81. <descriptor>src/main/assembly/package.xml</descriptor>
  82. </descriptors>
  83. <finalName>datax</finalName>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <id>dwzip</id>
  88. <phase>package</phase>
  89. <goals>
  90. <goal>single</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-surefire-plugin</artifactId>
  98. <version>2.12.4</version>
  99. <configuration>
  100. <!-- 包含哪些测试用例 -->
  101. <includes>
  102. <include>**/*Test.java</include>
  103. </includes>
  104. <!-- 不包含哪些测试用例 -->
  105. <excludes>
  106. </excludes>
  107. <testFailureIgnore>true</testFailureIgnore>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>