pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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>oscarwriter</artifactId>
  12. <name>oscarwriter</name>
  13. <packaging>jar</packaging>
  14. <description>writer data into oscar database</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.alibaba.datax</groupId>
  18. <artifactId>datax-common</artifactId>
  19. <version>${datax-project-version}</version>
  20. <exclusions>
  21. <exclusion>
  22. <artifactId>slf4j-log4j12</artifactId>
  23. <groupId>org.slf4j</groupId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>slf4j-api</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>ch.qos.logback</groupId>
  33. <artifactId>logback-classic</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.alibaba.datax</groupId>
  37. <artifactId>plugin-rdbms-util</artifactId>
  38. <version>${datax-project-version}</version>
  39. </dependency>
  40. <!-- <dependency>
  41. <groupId>com.oscar</groupId>
  42. <artifactId>oscar</artifactId>
  43. <version>7.0.8</version>
  44. <scope>system</scope>
  45. <systemPath>${basedir}/src/main/lib/oscarJDBC.jar</systemPath>
  46. </dependency>-->
  47. <!--驱动文件找不到了,暂时替换成下面这个-->
  48. <dependency>
  49. <groupId>com.csicit.thirdparty</groupId>
  50. <artifactId>oscar</artifactId>
  51. <version>1.0.1</version>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <!-- compiler plugin -->
  57. <plugin>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <configuration>
  60. <source>${jdk-version}</source>
  61. <target>${jdk-version}</target>
  62. <encoding>${project-sourceEncoding}</encoding>
  63. </configuration>
  64. </plugin>
  65. <!-- assembly plugin -->
  66. <plugin>
  67. <artifactId>maven-assembly-plugin</artifactId>
  68. <configuration>
  69. <descriptors>
  70. <descriptor>src/main/assembly/package.xml</descriptor>
  71. </descriptors>
  72. <finalName>datax</finalName>
  73. </configuration>
  74. <executions>
  75. <execution>
  76. <id>dwzip</id>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>single</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>