pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project</artifactId>
  21. <version>3.5.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <artifactId>hadoop-datajoin</artifactId>
  25. <version>3.5.0-SNAPSHOT</version>
  26. <description>Apache Hadoop Data Join</description>
  27. <name>Apache Hadoop Data Join</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.mockito</groupId>
  40. <artifactId>mockito-core</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.hadoop</groupId>
  45. <artifactId>hadoop-annotations</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.hadoop</groupId>
  50. <artifactId>hadoop-mapreduce-client-hs</artifactId>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-mapreduce-client-core</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.hadoop</groupId>
  60. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.hadoop</groupId>
  65. <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
  66. <scope>test</scope>
  67. <type>test-jar</type>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-common</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.hadoop</groupId>
  76. <artifactId>hadoop-hdfs-client</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.hadoop</groupId>
  81. <artifactId>hadoop-common</artifactId>
  82. <scope>test</scope>
  83. <type>test-jar</type>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.hadoop</groupId>
  87. <artifactId>hadoop-hdfs</artifactId>
  88. <scope>test</scope>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.ow2.asm</groupId>
  92. <artifactId>asm-commons</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.hadoop</groupId>
  98. <artifactId>hadoop-hdfs</artifactId>
  99. <scope>test</scope>
  100. <type>test-jar</type>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.hadoop</groupId>
  104. <artifactId>hadoop-yarn-server-tests</artifactId>
  105. <type>test-jar</type>
  106. <scope>test</scope>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>com.github.spotbugs</groupId>
  113. <artifactId>spotbugs-maven-plugin</artifactId>
  114. <configuration>
  115. <xmlOutput>true</xmlOutput>
  116. <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml
  117. </excludeFilterFile>
  118. <effort>Max</effort>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-antrun-plugin</artifactId>
  124. <executions>
  125. <execution>
  126. <id>create-log-dir</id>
  127. <phase>process-test-resources</phase>
  128. <goals>
  129. <goal>run</goal>
  130. </goals>
  131. <configuration>
  132. <target>
  133. <delete dir="${test.build.data}"/>
  134. <mkdir dir="${test.build.data}"/>
  135. <mkdir dir="${hadoop.log.dir}"/>
  136. </target>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-jar-plugin</artifactId>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-dependency-plugin</artifactId>
  148. <executions>
  149. <execution>
  150. <id>deplist</id>
  151. <phase>compile</phase>
  152. <goals>
  153. <goal>list</goal>
  154. </goals>
  155. <configuration>
  156. <outputFile>${project.basedir}/../../hadoop-dist/target/hadoop-tools-deps/${project.artifactId}.txt</outputFile>
  157. </configuration>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. </project>