pom.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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>starrocksreader</artifactId>
  12. <name>starrocksreader</name>
  13. <packaging>jar</packaging>
  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.alibaba.datax</groupId>
  21. <artifactId>datax-common</artifactId>
  22. <version>${datax-project-version}</version>
  23. <exclusions>
  24. <exclusion>
  25. <artifactId>slf4j-log4j12</artifactId>
  26. <groupId>org.slf4j</groupId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-api</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>ch.qos.logback</groupId>
  36. <artifactId>logback-classic</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba.datax</groupId>
  40. <artifactId>plugin-rdbms-util</artifactId>
  41. <version>${datax-project-version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. <version>5.1.46</version>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <resources>
  51. <resource>
  52. <directory>src/main/java</directory>
  53. <includes>
  54. <include>**/*.properties</include>
  55. </includes>
  56. </resource>
  57. </resources>
  58. <plugins>
  59. <!-- compiler plugin -->
  60. <plugin>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <configuration>
  63. <source>${jdk-version}</source>
  64. <target>${jdk-version}</target>
  65. <encoding>${project-sourceEncoding}</encoding>
  66. </configuration>
  67. </plugin>
  68. <!-- assembly plugin -->
  69. <plugin>
  70. <artifactId>maven-assembly-plugin</artifactId>
  71. <configuration>
  72. <descriptors>
  73. <descriptor>src/main/assembly/package.xml</descriptor>
  74. </descriptors>
  75. <finalName>datax</finalName>
  76. </configuration>
  77. <executions>
  78. <execution>
  79. <id>dwzip</id>
  80. <phase>package</phase>
  81. <goals>
  82. <goal>single</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>