pom.xml 4.4 KB

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