pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
  16. <modelVersion>4.0.0</modelVersion>
  17. <parent>
  18. <groupId>org.apache.hadoop</groupId>
  19. <artifactId>hadoop-yarn-services</artifactId>
  20. <version>3.5.0-SNAPSHOT</version>
  21. </parent>
  22. <artifactId>hadoop-yarn-services-core</artifactId>
  23. <packaging>jar</packaging>
  24. <name>Apache Hadoop YARN Services Core</name>
  25. <properties>
  26. <!-- Needed for generating FindBugs warnings using parent pom -->
  27. <yarn.basedir>${project.parent.basedir}</yarn.basedir>
  28. </properties>
  29. <build>
  30. <!-- resources are filtered for dynamic updates. This gets build info in-->
  31. <resources>
  32. <resource>
  33. <directory>src/main/resources</directory>
  34. <filtering>true</filtering>
  35. </resource>
  36. </resources>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.xolstice.maven.plugins</groupId>
  40. <artifactId>protobuf-maven-plugin</artifactId>
  41. <executions>
  42. <execution>
  43. <id>src-compile-protoc</id>
  44. <configuration>
  45. <skip>false</skip>
  46. </configuration>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. <plugin>
  51. <groupId>com.google.code.maven-replacer-plugin</groupId>
  52. <artifactId>replacer</artifactId>
  53. <executions>
  54. <execution>
  55. <id>replace-generated-sources</id>
  56. <configuration>
  57. <skip>false</skip>
  58. </configuration>
  59. </execution>
  60. <execution>
  61. <id>replace-sources</id>
  62. <configuration>
  63. <skip>false</skip>
  64. </configuration>
  65. </execution>
  66. <execution>
  67. <id>replace-test-sources</id>
  68. <configuration>
  69. <skip>false</skip>
  70. </configuration>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>test-jar</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-surefire-plugin</artifactId>
  88. <configuration>
  89. <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
  90. <environmentVariables>
  91. <JAVA_HOME>${java.home}</JAVA_HOME>
  92. </environmentVariables>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.rat</groupId>
  97. <artifactId>apache-rat-plugin</artifactId>
  98. <configuration>
  99. <excludes>
  100. <exclude>**/*.json</exclude>
  101. </excludes>
  102. </configuration>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. <dependencies>
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-api</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>log4j</groupId>
  113. <artifactId>log4j</artifactId>
  114. <scope>runtime</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.hadoop.thirdparty</groupId>
  118. <artifactId>hadoop-shaded-guava</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.fasterxml.jackson.core</groupId>
  122. <artifactId>jackson-databind</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.fasterxml.jackson.core</groupId>
  126. <artifactId>jackson-annotations</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.hadoop</groupId>
  130. <artifactId>hadoop-hdfs-client</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.hadoop</groupId>
  134. <artifactId>hadoop-yarn-client</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.hadoop</groupId>
  138. <artifactId>hadoop-registry</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.hadoop</groupId>
  142. <artifactId>hadoop-yarn-common</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.hadoop</groupId>
  146. <artifactId>hadoop-yarn-server-common</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.hadoop</groupId>
  150. <artifactId>hadoop-common</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.hadoop</groupId>
  154. <artifactId>hadoop-annotations</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.hadoop</groupId>
  158. <artifactId>hadoop-yarn-api</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.apache.hadoop</groupId>
  162. <artifactId>hadoop-hdfs</artifactId>
  163. <exclusions>
  164. <exclusion>
  165. <groupId>org.ow2.asm</groupId>
  166. <artifactId>asm-commons</artifactId>
  167. </exclusion>
  168. </exclusions>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.google.protobuf</groupId>
  172. <artifactId>protobuf-java</artifactId>
  173. <scope>${transient.protobuf2.scope}</scope>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.apache.commons</groupId>
  177. <artifactId>commons-configuration2</artifactId>
  178. <exclusions>
  179. <exclusion>
  180. <groupId>javax.servlet</groupId>
  181. <artifactId>servlet-api</artifactId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.apache.commons</groupId>
  187. <artifactId>commons-compress</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>commons-io</groupId>
  191. <artifactId>commons-io</artifactId>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.apache.curator</groupId>
  195. <artifactId>curator-client</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.curator</groupId>
  199. <artifactId>curator-framework</artifactId>
  200. </dependency>
  201. <dependency>
  202. <groupId>javax.xml.bind</groupId>
  203. <artifactId>jaxb-api</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.yaml</groupId>
  207. <artifactId>snakeyaml</artifactId>
  208. </dependency>
  209. <dependency>
  210. <groupId>io.swagger</groupId>
  211. <artifactId>swagger-annotations</artifactId>
  212. </dependency>
  213. <!-- ======================================================== -->
  214. <!-- Test dependencies -->
  215. <!-- ======================================================== -->
  216. <dependency>
  217. <groupId>junit</groupId>
  218. <artifactId>junit</artifactId>
  219. <scope>test</scope>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.mockito</groupId>
  223. <artifactId>mockito-core</artifactId>
  224. <scope>test</scope>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.hadoop</groupId>
  228. <artifactId>hadoop-minicluster</artifactId>
  229. <scope>test</scope>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.curator</groupId>
  233. <artifactId>curator-test</artifactId>
  234. <scope>test</scope>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.assertj</groupId>
  238. <artifactId>assertj-core</artifactId>
  239. <scope>test</scope>
  240. </dependency>
  241. </dependencies>
  242. </project>