pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <project xmlns="http://maven.apache.org/POM/4.0.0"
  17. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  19. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <artifactId>hadoop-yarn-server</artifactId>
  22. <groupId>org.apache.hadoop</groupId>
  23. <version>3.5.0-SNAPSHOT</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>hadoop-yarn-server-applicationhistoryservice</artifactId>
  27. <version>3.5.0-SNAPSHOT</version>
  28. <name>Apache Hadoop YARN ApplicationHistoryService</name>
  29. <properties>
  30. <!-- Needed for generating FindBugs warnings using parent pom -->
  31. <yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>javax.servlet</groupId>
  36. <artifactId>javax.servlet-api</artifactId>
  37. </dependency>
  38. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  39. <dependency>
  40. <groupId>org.apache.hadoop</groupId>
  41. <artifactId>hadoop-common</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  45. <dependency>
  46. <groupId>org.apache.hadoop</groupId>
  47. <artifactId>hadoop-annotations</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mockito</groupId>
  51. <artifactId>mockito-core</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  55. <dependency>
  56. <groupId>org.apache.hadoop</groupId>
  57. <artifactId>hadoop-common</artifactId>
  58. <type>test-jar</type>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.google.inject.extensions</groupId>
  63. <artifactId>guice-servlet</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.protobuf</groupId>
  67. <artifactId>protobuf-java</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>junit</groupId>
  71. <artifactId>junit</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.assertj</groupId>
  76. <artifactId>assertj-core</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  80. <dependency>
  81. <groupId>com.google.inject</groupId>
  82. <artifactId>guice</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  86. <artifactId>jersey-test-framework-core</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.sun.jersey</groupId>
  91. <artifactId>jersey-core</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.sun.jersey</groupId>
  95. <artifactId>jersey-client</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.pjfanning</groupId>
  99. <artifactId>jersey-json</artifactId>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>com.fasterxml.jackson.core</groupId>
  103. <artifactId>jackson-core</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>com.fasterxml.jackson.core</groupId>
  107. <artifactId>jackson-databind</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  111. <artifactId>jackson-jaxrs-json-provider</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>org.codehaus.jettison</groupId>
  115. <artifactId>jettison</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.sun.jersey.contribs</groupId>
  121. <artifactId>jersey-guice</artifactId>
  122. </dependency>
  123. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  124. <dependency>
  125. <groupId>org.apache.hadoop</groupId>
  126. <artifactId>hadoop-yarn-common</artifactId>
  127. <type>test-jar</type>
  128. <scope>test</scope>
  129. </dependency>
  130. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  131. <dependency>
  132. <groupId>org.apache.hadoop</groupId>
  133. <artifactId>hadoop-yarn-common</artifactId>
  134. </dependency>
  135. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  136. <dependency>
  137. <groupId>org.apache.hadoop</groupId>
  138. <artifactId>hadoop-yarn-api</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>javax.xml.bind</groupId>
  142. <artifactId>jaxb-api</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.codehaus.jettison</groupId>
  146. <artifactId>jettison</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.hadoop.thirdparty</groupId>
  150. <artifactId>hadoop-shaded-guava</artifactId>
  151. </dependency>
  152. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  153. <dependency>
  154. <groupId>org.apache.hadoop</groupId>
  155. <artifactId>hadoop-yarn-server-common</artifactId>
  156. </dependency>
  157. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  158. <dependency>
  159. <groupId>com.sun.jersey.jersey-test-framework</groupId>
  160. <artifactId>jersey-test-framework-grizzly2</artifactId>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>commons-collections</groupId>
  165. <artifactId>commons-collections</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>${leveldbjni.group}</groupId>
  169. <artifactId>leveldbjni-all</artifactId>
  170. </dependency>
  171. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  172. <dependency>
  173. <groupId>org.apache.hadoop</groupId>
  174. <artifactId>hadoop-minikdc</artifactId>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.hadoop</groupId>
  179. <artifactId>hadoop-auth</artifactId>
  180. <scope>test</scope>
  181. <type>test-jar</type>
  182. </dependency>
  183. <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
  184. <dependency>
  185. <groupId>org.bouncycastle</groupId>
  186. <artifactId>bcprov-jdk15on</artifactId>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.junit.jupiter</groupId>
  191. <artifactId>junit-jupiter-api</artifactId>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.junit.jupiter</groupId>
  196. <artifactId>junit-jupiter-engine</artifactId>
  197. <scope>test</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.junit.jupiter</groupId>
  201. <artifactId>junit-jupiter-params</artifactId>
  202. <scope>test</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.junit.platform</groupId>
  206. <artifactId>junit-platform-launcher</artifactId>
  207. <scope>test</scope>
  208. </dependency>
  209. <dependency>
  210. <groupId>de.ruedigermoeller</groupId>
  211. <artifactId>fst</artifactId>
  212. <version>2.50</version>
  213. <exclusions>
  214. <exclusion>
  215. <groupId>org.javassist</groupId>
  216. <artifactId>javassist</artifactId>
  217. </exclusion>
  218. <exclusion>
  219. <groupId>com.cedarsoftware</groupId>
  220. <artifactId>java-util</artifactId>
  221. </exclusion>
  222. </exclusions>
  223. </dependency>
  224. </dependencies>
  225. <build>
  226. <plugins>
  227. <plugin>
  228. <groupId>org.xolstice.maven.plugins</groupId>
  229. <artifactId>protobuf-maven-plugin</artifactId>
  230. <executions>
  231. <execution>
  232. <id>src-compile-protoc</id>
  233. <configuration>
  234. <skip>false</skip>
  235. <additionalProtoPathElements>
  236. <additionalProtoPathElement>
  237. ${basedir}/../../../../hadoop-common-project/hadoop-common/src/main/proto
  238. </additionalProtoPathElement>
  239. <additionalProtoPathElement>
  240. ${basedir}/../../hadoop-yarn-api/src/main/proto
  241. </additionalProtoPathElement>
  242. <additionalProtoPathElement>
  243. ${basedir}/../../hadoop-yarn-common/src/main/proto
  244. </additionalProtoPathElement>
  245. <additionalProtoPathElement>
  246. ${basedir}/../hadoop-yarn-server-common/src/main/proto
  247. </additionalProtoPathElement>
  248. </additionalProtoPathElements>
  249. </configuration>
  250. </execution>
  251. </executions>
  252. </plugin>
  253. <plugin>
  254. <groupId>com.google.code.maven-replacer-plugin</groupId>
  255. <artifactId>replacer</artifactId>
  256. <executions>
  257. <execution>
  258. <id>replace-generated-sources</id>
  259. <configuration>
  260. <skip>false</skip>
  261. </configuration>
  262. </execution>
  263. <execution>
  264. <id>replace-sources</id>
  265. <configuration>
  266. <skip>false</skip>
  267. </configuration>
  268. </execution>
  269. <execution>
  270. <id>replace-test-sources</id>
  271. <configuration>
  272. <skip>false</skip>
  273. </configuration>
  274. </execution>
  275. </executions>
  276. </plugin>
  277. <plugin>
  278. <artifactId>maven-jar-plugin</artifactId>
  279. <executions>
  280. <execution>
  281. <goals>
  282. <goal>test-jar</goal>
  283. </goals>
  284. <phase>test-compile</phase>
  285. </execution>
  286. </executions>
  287. </plugin>
  288. </plugins>
  289. </build>
  290. </project>