pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.alibaba.datax</groupId>
  6. <artifactId>datax-all</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>datax-core</artifactId>
  10. <name>datax-core</name>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.alibaba.datax</groupId>
  15. <artifactId>datax-transformer</artifactId>
  16. <version>${datax-project-version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <artifactId>slf4j-log4j12</artifactId>
  20. <groupId>org.slf4j</groupId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <dependency>
  25. <groupId>commons-configuration</groupId>
  26. <artifactId>commons-configuration</artifactId>
  27. <version>${commons-configuration-version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>commons-cli</groupId>
  31. <artifactId>commons-cli</artifactId>
  32. <version>${commons-cli-version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>commons-beanutils</groupId>
  36. <artifactId>commons-beanutils</artifactId>
  37. <version>1.9.2</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.httpcomponents</groupId>
  41. <artifactId>httpclient</artifactId>
  42. <version>4.5.13</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.httpcomponents</groupId>
  46. <artifactId>fluent-hc</artifactId>
  47. <version>4.5</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>slf4j-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>ch.qos.logback</groupId>
  55. <artifactId>logback-classic</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.codehaus.janino</groupId>
  59. <artifactId>janino</artifactId>
  60. <version>2.5.16</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>junit</groupId>
  64. <artifactId>junit</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.mockito</groupId>
  69. <artifactId>mockito-core</artifactId>
  70. <version>1.8.5</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.powermock</groupId>
  75. <artifactId>powermock-api-mockito</artifactId>
  76. <version>1.4.10</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.powermock</groupId>
  81. <artifactId>powermock-module-junit4</artifactId>
  82. <version>1.4.10</version>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.commons</groupId>
  87. <artifactId>commons-lang3</artifactId>
  88. <version>3.3.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.codehaus.groovy</groupId>
  92. <artifactId>groovy-all</artifactId>
  93. <version>2.1.9</version>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <resources>
  98. <resource>
  99. <directory>src/main/java</directory>
  100. <includes>
  101. <include>**/*.properties</include>
  102. </includes>
  103. </resource>
  104. </resources>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-jar-plugin</artifactId>
  109. <configuration>
  110. <archive>
  111. <manifest>
  112. <mainClass>com.alibaba.datax.core.Engine</mainClass>
  113. </manifest>
  114. </archive>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <artifactId>maven-assembly-plugin</artifactId>
  119. <configuration>
  120. <archive>
  121. <manifest>
  122. <mainClass>com.alibaba.datax.core.Engine</mainClass>
  123. </manifest>
  124. </archive>
  125. <finalName>datax</finalName>
  126. <descriptors>
  127. <descriptor>src/main/assembly/package.xml</descriptor>
  128. </descriptors>
  129. </configuration>
  130. <executions>
  131. <execution>
  132. <phase>package</phase>
  133. <goals>
  134. <goal>single</goal>
  135. </goals>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <!-- compiler plugin -->
  140. <plugin>
  141. <artifactId>maven-compiler-plugin</artifactId>
  142. <configuration>
  143. <source>${jdk-version}</source>
  144. <target>${jdk-version}</target>
  145. <encoding>${project-sourceEncoding}</encoding>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>